我写了这个查询
SELECT
ROW_NUMBER() OVER (ORDER BY b.s_id) as RN,
g.code as De,
f.code as Ar
from a_c a
left join ne_a b ON b.n_a_id = a.n_a_id
left join Sh d ON d.s_id = b.s_id
left join A g ON g.a_id = a.d_a_id
left join A f ON f.a_id = a.a_a_id
where b.s_id = 'MHJIX'
ORDER BY b.s_id
它给了我结果
RN De AR
1 S D
2 D G
3 G J
我想显示从 Row_Number 2 开始的结果。Row_numbers 总是可以改变的。在上面的示例中总共有 3 行,但在其他示例中可以是 5 行。如何显示从 row_number 2 开始的结果?
我怎样才能做到这一点?