select * from A where id<>(select top 1 id from A order by id desc) order by id desc
全部回答
1楼网友:封刀令
2021-04-21 00:53
SELECt * FROM TABLE_A ID NOT IN SELECt ID FROM TABLE_A
2楼网友:渡鹤影
2021-04-20 23:29
select * from A where id not in (select top 1 id from A);id为标识列
3楼网友:愁杀梦里人
2021-04-20 22:31
什么叫第一条记录啊 ??那要看你按照什么来排序了!
你可以这样试试看行不行
假设id 是一个主键 addtime 是时间
select * from T where id not in (select top 1 id from T order by addtime asc) ordr by addtime asc
4楼网友:洒脱疯子
2021-04-20 22:13
select * from A where 列名 not in (select top 1 列名 from A)