SQL查询从第M 到第N条数据

select top N-M+1 * from tablename where id not in (select top M-1 id from tablename order by id) order by id

posted @ 2022-02-09 09:49  密西西比的深蓝  阅读(71)  评论(0)    收藏  举报