📜  如何在sql代码示例中更改列名

📅  最后修改于: 2022-03-11 15:05:29.096000             🧑  作者: Mango

代码示例3
ALTER TABLE `table_name` 
CHANGE `old_name` `new_name` VARCHAR(10) 
CHARACTER SET utf8 
COLLATE utf8_general_ci NULL 
DEFAULT NULL;