mysql将一个空列加为递增数字-全表 码奴生来只知道前进 2022-07-29 165 阅读1分钟 SELECT @rowNO :=0; UPDATE warehouse_data SET sort=(@rowNO := @rowNo+1);