📜  如何在mysql代码示例中向表中添加更多列

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

代码示例1
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;