随笔分类 -  SQL面试题

摘要:(一)1.写出一条Sql语句: 取出表A中第31到第40记录(SQLServer, 以自动增长的ID作为主键, 注意:ID可能不是连续的。) select top 10 * from A where id not in (select top 30 id from A) 解2: select top 10 * from A where id > (select max(id) from (s... 阅读全文

posted @ 2010-07-29 18:15 Proxima 阅读(1085) 评论(0) 推荐(0)

导航