📜  更改表添加多列mysql代码示例

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

代码示例3
CREATE TABLE IF NOT EXISTS vendors (
    id INT AUTO_INCREMENT PRIMARY KEY,
    name VARCHAR(255)
);
ALTER TABLE vendors
ADD COLUMN phone VARCHAR(15) AFTER name;