時間差


select a.id , a.key , a.time , a.nt1 , ( TRUNC(( a.nt1  -  a.time  )*24*3600) )  as interval
from
(
      select  t1.id , t1.key , t1.time ,
        (
       select   time
           from   table
              where    rownum = 1 and key >  t1.key
     ) as nt1
  
     from     table t1
 )   a    

posted on 2006-09-04 15:56 青蛙學堂 阅读(193) 评论(0)  编辑 收藏 引用 所属分类: 軟件布袋

只有注册用户登录后才能发表评论。
<2014年5月>
27282930123
45678910
11121314151617
18192021222324
25262728293031
1234567

导航

统计

常用链接

留言簿(8)

随笔分类

随笔档案

收藏夹

青蛙学堂

最新评论

阅读排行榜

评论排行榜