使用很简单的一个技巧实现:
select top m * from table where id not in (
select top n id from table )
本文介绍了一种使用SQL查询来获取特定数量记录的技巧。通过结合使用TOP子句与子查询,可以实现在排除前n条记录的情况下选取后续的m条记录。这种方法对于数据筛选和展示非常有用。
使用很简单的一个技巧实现:
select top m * from table where id not in (
select top n id from table )
转载于:https://www.cnblogs.com/GarfieldTom/archive/2009/05/07/1451452.html
5869

被折叠的 条评论
为什么被折叠?