如何在不更改其他列的情况下更改表的 id 列的顺序?
1 name_1 tel_1
2 name_2 tel_2
3 name_3 tel_3
但你需要
3 name_1 tel_1
2 name_2 tel_2
1 name_3 tel_3
如何在不更改其他列的情况下更改表的 id 列的顺序?
1 name_1 tel_1
2 name_2 tel_2
3 name_3 tel_3
但你需要
3 name_1 tel_1
2 name_2 tel_2
1 name_3 tel_3
对于所有 [审查] 任务:
如果
id- 主索引或唯一索引,则在更新之前将其删除并在之后重新创建。