Answers for "mysql update multiple columns from select"

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

mysql update one table from another table multiple columns

update  tabe2 set subject_id = (SELECT GROUP_CONCAT(sub_id SEPARATOR ', ') as sub_id FROM tabe1)
Posted by: Guest on April-05-2021

Code answers related to "mysql update multiple columns from select"

Code answers related to "SQL"

Browse Popular Code Answers by Language