17,380
社区成员
发帖
与我相关
我的任务
分享update A t1
set col =
(select rn
from (select col, rownum rn from A order by col) t2
where t1.col = t2.col)update A t1
set col =
(select rn
from (select col, rownum rn from mm order by col) t2
where t1.col = t2.col)update 表 set 字段=rownum order by 字段