Answers for "add 2 columns in mysql"

SQL
0

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;
Posted by: Guest on November-09-2021
0

addition of 2 column value in mysql

select *,(maths + chemistry + physics ) AS total FROM `student`
Posted by: Guest on August-20-2021
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 "SQL"

Browse Popular Code Answers by Language