呵呵这个没有 不过你可以加一个自增加自段 SELECT * FROM TBALENAME WHERE ID>4 AND ID<20
你可以先创建临时表拉,再利用IDS来定位select identity(smallint,1,1) as ids ,* into ##tmp from authorsselect * from ##tmp where ids between 4 and 20drop table ##tmp还有一种方法,不用临时表,是利用子查询,但是要求表里有唯一字段
select top 17 * from authors where au_id not in (select top 3 au_id from authors order by au_id) order by au_id 这是第种解决方法
不过你可以加一个自增加自段
SELECT * FROM TBALENAME WHERE ID>4 AND ID<20
where au_id not in (select top 3 au_id from authors order by au_id)
order by au_id
这是第种解决方法