s8皇子打野装备:sql 语句如何取中间几条记录,我现在只知道有top *

来源:百度文库 编辑:高考问答 时间:2024/04/29 14:44:28
select top 5 * from (select top 10 * from a order by column1) order by column1 desc
以上的不可用

取第5条到第10条间的记录:

select top 5 * from (select top 10 * from a order by column1) order by column1 desc

谢谢加分啊!:)

好久不用sql,都忘记了 加个条件不久可以了吗 ?

不能吧,

go 5
select next 5