摘要:
--sql 2000select 序号 = (select count(1) from tb where 学号 < t.学号) + 1,学号 ,姓名 from tb t--sql 2005select 序号 = row_number() over(order by 学号),学号 ,姓名 from t... 阅读全文
posted @ 2015-01-04 15:48 shenyixin 阅读(8400) 评论(0) 推荐(0) 编辑
|
||
摘要:
--sql 2000select 序号 = (select count(1) from tb where 学号 < t.学号) + 1,学号 ,姓名 from tb t--sql 2005select 序号 = row_number() over(order by 学号),学号 ,姓名 from t... 阅读全文
posted @ 2015-01-04 15:48 shenyixin 阅读(8400) 评论(0) 推荐(0) 编辑 |
||