SQL2000 查询语句的问题

来源:百度知道 编辑:UC知道 时间:2024/06/08 12:00:08
SQL2000 查询的问题
我想查询当前列的第 3~10行,该怎么写?
一共就30分了,哪位高手教我一下啊

select top 13 *from a where aid not in (select top 3 aid from a)
根据自动增长列排序的..

select * from biao where id between 3 and 10

top嵌套top,给你个例子
select top 8 * from (select top 10 * from sysobjects order by id) a order by id desc