sql语句查询 查询到后的内容格式为: 1 20 01⼀01⼀2001 2 20 01⼀02⼀2001 3 20 01⼀03⼀2001

2025-03-22 19:28:33
推荐回答(3个)
回答(1):

select date time, (lead(money,1,0) over(order by date time) -money) as money dif from 表
试试
少了个top 3

回答(2):

你想问的是什么?

回答(3):

format一下