当前位置:Gxlcms > 数据库问题 > sqlserver分页语句

sqlserver分页语句

时间:2021-07-01 10:21:17 帮助过:3人阅读

select * from (

select row_number() over(order by id) as rowid,*  from table where 1=1 

) tt

select count(1) as countRow from (

select * from table  where 1=1 

) tt

sqlserver分页语句

标签:over   row   nbsp   table   sqlserver   ble   ber   分页   tab   

人气教程排行