Answers for "how to insert data from another table in mysql"

SQL
3

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 "how to insert data from another table in mysql"

Code answers related to "SQL"

Browse Popular Code Answers by Language