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

2025年03月22日 19:28
有3个网友回答
网友(1):

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

网友(2):

你想问的是什么?

网友(3):

format一下