select top 10 * from (select top 30 * from A order by ID) order by ID desc select top 10 * from A where ID not in (select ID from top 20 from A)
如何查询出数据库表中第21条到第30条记录?
最新推荐文章于 2021-01-27 01:55:52 发布
select top 10 * from (select top 30 * from A order by ID) order by ID desc select top 10 * from A where ID not in (select ID from top 20 from A)