各位老师:请问如何在sql中取得一个表第二行的数据?

2025-03-24 09:05:01
推荐回答(2个)
回答(1):

select top 2 *
from test
where id not in (select top 1 id from test)

回答(2):

在SQL表中没有记录先后之分,哪一行叫第二行呢?