select
T.sicCd form Table T
where
T.sicCd not in (
select
sicCd
form
Table
fetch first 100 rows only
) fetch first 100 rows only
思路:选取第一百到第二百条就是选取除了开头100 条以外的连续一百条,
本文介绍了一种使用SQL进行特定范围数据检索的方法,通过排除前100条记录来获取第101到200条记录。这种方法适用于需要跳过初始记录集的情况。
select
T.sicCd form Table T
where
T.sicCd not in (
select
sicCd
form
Table
fetch first 100 rows only
) fetch first 100 rows only
思路:选取第一百到第二百条就是选取除了开头100 条以外的连续一百条,
4874

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