这种数据怎么写增长率sql简单些
https://blog.csdn.net/hamunet/article/details/110733092
用偏移函数lag
select a,b,b/LEAD(b,1) from table
select date num,num1,(num-num1)/num1 from (
select date,num,lead(num,1) over(order by date) num1 from a) b