看到有人问如下问题:
update t_test t1 set num = ( select num from ( select rowid id, row_number() over (partition by id order by id asc) num from t_test ) t2 where t1.rowid = t2. id );
空了,准备再弄下行列转置问题。