Hello everyone, i am new in this website and MySQL and i'm loving it :D
I need to add a set of columns to a table, but i need to add them after a specific column, can this be done in one query without having to specify AFTER for each column like this?
ALTER TABLE details
ADD address VARCHAR(255) AFTER name,
ADD city VARCHAR(255) AFTER address,
ADD state VARCHAR(255) AFTER city,
....
....
Thanks in advance!
I need to add a set of columns to a table, but i need to add them after a specific column, can this be done in one query without having to specify AFTER for each column like this?
ALTER TABLE details
ADD address VARCHAR(255) AFTER name,
ADD city VARCHAR(255) AFTER address,
ADD state VARCHAR(255) AFTER city,
....
....
Thanks in advance!