sql从表中取出31到40条数据

select top 10 * from a where id not in (select top 30 id from a order by id) order by id

 

关键字:top

 

reference: http://www.ej38.com/showinfo/sql-113227.html

posted on 2010-02-22 12:38  lbsx  阅读(560)  评论(0编辑  收藏  举报