Answers for "alter table to add multiple columns in mysql"

SQL
0

how to add more columns to a table in mysql

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;
Posted by: Guest on March-16-2021

Code answers related to "alter table to add multiple columns in mysql"

Code answers related to "SQL"

Browse Popular Code Answers by Language