with t1 as (select shuzi,riqi,rownum as rnfrom (select shuzi,riqifrom Aorder by 2) t)select p.shuzi-nvl(m.shuzi,0) as new_shuzi,p.riqifrom t1 pleft join t1 m on p.rn-1=m.rn;你看下这个结果
首页 >
oracle数据库求差值的sql语句 – 数据库 – 前端|
ps怎么用钢笔写字,如何找回网站后台密码,qq同步助手电话怎么删除oracle数据库求差值的sql语句