sql分頁

use [New_BeiJingGuoMaoGame_www.bjifeicuiedu.com_1_new]
goui

with list as(
SELECT ROW_NUMBER() OVER(order by Id) AS num,*
FROM dbo.FcArticle
)
select * from list
where num between 51 and 100 it

select top 100 * from dbo.FcArticle order by Idselect

相關文章
相關標籤/搜索