摘要:
题目: 写出一条Sql语句: 取出表A中第31到第40记录(SQLServer, 以自动增长的ID作为主键, 注意:ID可能不是连续的。)解答(已测试): 1、假设ID是连续的: select top 10 * from A where ID not in (select top 30 ID from A) 或 select * from A where ID betwe... 阅读全文
posted @ 2010-06-24 11:04
贺满
阅读(1036)
评论(1)
推荐(1)
浙公网安备 33010602011771号