2010年7月16日

读取指定的记录数

摘要: 我要第一条,第二条,第三条,/*第一种 升序*/select top 1 * from table_Awhere (select count(1) from table_A where ID<= T.ID) > 2select top 1rn=(select count(1) from table_A where ID<= T.ID),* from table_Awhere (s... 阅读全文

posted @ 2010-07-16 16:19 ruonanxiao 阅读(352) 评论(5) 推荐(1) 编辑

导航