sql查询表中根据某列排序的任意行语句
复制代码 代码如下: select * from (select t.*, row_number() over(order by 列 desc) r from 表 t) where r = 某行 and r=某行
复制代码 代码如下: select * from (select t.*, row_number() over(order by 列 desc) r from 表 t) where r <= 某行 and r>=某行
复制代码 代码如下: select * from (select t.*, row_number() over(order by 列 desc) r from 表 t) where r = 某行 and r=某行
复制代码 代码如下: select * from (select t.*, row_number() over(order by 列 desc) r from 表 t) where r <= 某行 and r>=某行