Answers for "add multiple columns mysql"

SQL
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 "add multiple columns mysql"

Code answers related to "SQL"

Browse Popular Code Answers by Language