Answers for "insert record from another table mysql"

SQL
2

insert into table from another table mysql

INSERT INTO table1 (emp_id, fname)
SELECT emp_id, fname 
FROM table2
WHERE status = 'Active';
Posted by: Guest on May-31-2020
0

mysql insert rows to another database

INSERT INTO db1.table SELECT * FROM db2.table;
Posted by: Guest on October-11-2021

Code answers related to "insert record from another table mysql"

Code answers related to "SQL"

Browse Popular Code Answers by Language