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
)
MYSQL可以使用如下的用法:
select top 1 * from tbl_score
where tbl_score NOT IN
(
select top 2 * from tbl_score
)