取出表A中第31到第40记录

解1:  select top 10 * from A where id not in (select top 30 id from A)
解2:  select top 10 * from A where id > (select max(id) from (select top 30 id from A )as A)

posted on 2008-06-26 00:49  客家浪子  阅读(616)  评论(0编辑  收藏  举报

导航