摘要:
(一)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 > (selectmax(id) from (select top 30 id from A )as A)2.写sql语句实现下列查询(表)ta b(列)1 21 31 42 12 23 14 15 35 2查询结果要求a b1 22 13 14 15 2 阅读全文
posted @ 2011-04-06 13:57
kevin_20131022
阅读(2376)
评论(1)
推荐(0)
浙公网安备 33010602011771号