随笔分类 -  SQL

SQL语句
MSSQL数据库和C#数据类型的对应关系
摘要: 阅读全文

posted @ 2011-04-20 17:46 客家浪子 阅读(172) 评论(0) 推荐(0)

取出表A中第31到第40记录
摘要:解1: 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 (select top 30 id from A )as A) 阅读全文

posted @ 2008-06-26 00:49 客家浪子 阅读(628) 评论(0) 推荐(0)

导航