数据加载中……
時間差

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 青蛙學堂 阅读(41) 评论(0)  编辑 收藏 引用 所属分类: 軟件布袋



标题  
姓名  
主页
验证码 *
内容(提交失败后,可以通过“恢复上次提交”恢复刚刚提交的内容)
 
  登录  使用高级评论  新用户注册  返回页首  恢复上次提交      
[使用Ctrl+Enter键可以直接提交]
相关链接: