SELECT Id,[Title],[Content],[Image]
FROM (
SELECT ROW_NUMBER() OVER(ORDER BY [Id] DESC) AS ROW_NUM,Id,[Title],[Content],[Image] FROM [NewsInfo]
)AS TEMP
WHERE TEMP.ROW_NUM BETWEEN 31 AND 40
时间: 2024-10-07 12:18:14
SELECT Id,[Title],[Content],[Image]
FROM (
SELECT ROW_NUMBER() OVER(ORDER BY [Id] DESC) AS ROW_NUM,Id,[Title],[Content],[Image] FROM [NewsInfo]
)AS TEMP
WHERE TEMP.ROW_NUM BETWEEN 31 AND 40