select (select 1+count(*) from tablename where 业绩>a.业绩) as 排名,业绩,名称 from tablename a order by 业绩 desc,名称
业绩是关键字,这样就可以生成新编号而不破坏原来的数据库。
参见:
http://www.80diy.com/home/20010725/20/209385.html
相关文章:
-
2022-12-23
-
2022-12-23
-
2022-12-23
-
2022-12-23
-
2021-11-06
-
2022-12-23
-
2021-05-03
猜你喜欢
-
2021-08-15
-
2022-12-23
-
2021-11-05
-
2021-07-18
-
2021-06-28
-
2021-08-17
相关资源
-
下载
2023-02-12
-
下载
2021-06-07
-
下载
2021-07-01