网络编程
位置:首页>> 网络编程>> 数据库>> sql查询表中根据某列排序的任意行语句

sql查询表中根据某列排序的任意行语句

  发布时间:2024-01-13 02:13:18 

标签:查询表,任意行

select *
from (select t.*,
row_number() over(order by 列 desc) r
from 表 t)
where r <= 某行 and r>=某行
0
投稿

猜你喜欢

手机版 网络编程 asp之家 www.aspxhome.com