ID不连续,读取特定的区间之间的数据

例如:

读取第20列到30列之间的数据

select top 10 * from table_name where ID not in(select top 20 ID from table_name )

sql2005就有新函数支持

原文地址:https://www.cnblogs.com/ruonanxiao/p/1505254.html