Answers for "mysql copy entries from one table to another"

SQL
1

mysql copy table to another table

CREATE TABLE new_table 
SELECT col1, col2, col3 
FROM
    existing_table
WHERE
    conditions;
Posted by: Guest on March-14-2021
0

copy data from one table to another mysql

INSERT INTO table2 (st_id,uid,changed,status,assign_status)
SELECT st_id,from_uid,now(),'Pending','Assigned'
FROM table1
Posted by: Guest on June-06-2021

Code answers related to "mysql copy entries from one table to another"

Code answers related to "SQL"

Browse Popular Code Answers by Language