1
0
热心网友
复制代码 代码如下:
# id唯一,num连续序号 # select a.id,num=(select count(1) from tb b where b.id<=a.id ) from tb a
使用道具 舉報
本版積分規則 發表回覆 回帖並轉播 回帖後跳轉到最後一頁
相关侵权、举报、投诉及建议等,请发 E-mail:qiongdian@foxmail.com
Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.