MYSQL可以使用如下的用法:
SELECT id FROM partner_broker_account_record ORDER BY id LIMIT 2, 1
在limit为2的基础上加1,
sql server是:
select top 1 * from tbl_score where tbl_score NOT IN ( select top 2 * from tbl_score )
时间: 2024-10-09 23:41:37
MYSQL可以使用如下的用法:
SELECT id FROM partner_broker_account_record ORDER BY id LIMIT 2, 1
在limit为2的基础上加1,
sql server是:
select top 1 * from tbl_score where tbl_score NOT IN ( select top 2 * from tbl_score )