领先和延迟分区Oracle 12c

时间:2017-12-11 23:25:29

标签: sql oracle

我有一个包含三列http://sqlfiddle.com/#!4/fbfb8/1

的表格
blob_upload_conf_callback

对于第三列str,值应为

create table xx ( id number, stn number , str varchar2(20));

insert into xx (id,stn) values (1,2001);
insert into xx (id,stn) values (2,2002);
insert into xx (id,stn) values (3,2003);
insert into xx (id,stn) values (4,2004);
insert into xx (id,stn) values (1,3001);
insert into xx (id,stn) values (2,3002);
insert into xx (id,stn) values (3,3003);

我的分区列应该是什么。 ?

由于

1 个答案:

答案 0 :(得分:0)

你的逻辑不清楚。以下内容非常接近您使用.wrap-thumbnails-div { text-align: center; overflow: hidden; margin: 30px 0; width: 100%; } .img-fluid { max-width: 100%; height: auto; } .thumbnails-div { display: list-item; list-style-type: none; width: 16.6%; float: left; }

的内容
<div class="wrap-thumbnails-div">
  <div class="thumbnails-div">
    <a href="#"><img class="img-fluid" src="https://via.placeholder.com/405x292?text=405x292"></a>
  </div>
  <div class="thumbnails-div">
    <a href=""><video width="100%" height="auto" autoplay="false" loop="">
    <source src="http://techslides.com/demos/sample-videos/small.mp4" type="video/mp4">
   </video></a>
  </div>
  <div class="thumbnails-div">
    <a href="#"><img class="img-fluid" src="https://via.placeholder.com/405x292?text=405x292"></a>
  </div>
  <div class="thumbnails-div">
    <a href="#"><img class="img-fluid" src="https://via.placeholder.com/405x292?text=405x292"></a>
  </div>
  <div class="thumbnails-div">
    <a href="#"><img class="img-fluid" src="https://via.placeholder.com/405x292?text=405x292"></a>
  </div>
  <div class="thumbnails-div">
    <a href=""><video width="100%" height="auto" autoplay="false" loop="">
    <source src="http://techslides.com/demos/sample-videos/small.mp4" type="video/mp4">
   </video></a>
  </div>
  <div class="thumbnails-div">
    <a href="#"><img class="img-fluid" src="https://via.placeholder.com/405x292?text=405x292"></a>
  </div>
  <div class="thumbnails-div">
    <a href="#"><img class="img-fluid" src="https://via.placeholder.com/405x292?text=405x292"></a>
  </div>
  <div class="thumbnails-div">
    <a href="#"><img class="img-fluid" src="https://via.placeholder.com/405x292?text=405x292"></a>
  </div>
  <div class="thumbnails-div">
    <a href="#"><img class="img-fluid" src="https://via.placeholder.com/405x292?text=405x292"></a>
  </div>
  <div class="thumbnails-div">
    <a href=""><video width="100%" height="auto" autoplay="false" loop="">
    <source src="http://techslides.com/demos/sample-videos/small.mp4" type="video/mp4">
   </video></a>
  </div>
  <div class="thumbnails-div">
    <a href="#"><img class="img-fluid" src="https://via.placeholder.com/405x292?text=405x292"></a>
  </div>    
</div>

我无法弄清楚为什么你会想要第一行“2001 - ”而不是“ - 2001”。