编程论坛 » SQL Server论坛 » 求一SQL语名,用的是SQL数据库,怎样取出倒序排列top10的第二条记录
注册会员
搜索更多相关主题的帖子: SQL 倒序排列 数据库 记录
查看详细资料
TOP
新手上路
以下是引用 wklhdt 在 2008-3-4 16:47 的发言: select * from tb where id not in(select top 1 id fom tb order by id desc) order by id desc
高级会员