1、Row_Number()
select * from dbo.T_Employee select * from (select Row_Number() over (order by FSalary) as ‘RowNum‘ ,* from dbo.T_Employee) a where a.RowNum>= 2 and a.RowNum<= 5
原文地址:https://www.cnblogs.com/kikyoqiang/p/10647941.html
时间: 2024-10-26 16:58:13