Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

alter table add multiple columns 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;
Source by ubiq.co #
 
PREVIOUS NEXT
Tagged: #alter #table #add #multiple #columns #mysql
ADD COMMENT
Topic
Name
2+9 =