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 www.mysqltutorial.org #
 
PREVIOUS NEXT
Tagged: #alter #table #add #multiple #columns #mysql
ADD COMMENT
Topic
Name
9+8 =