CREATE TABLE IF NOT EXISTS new_table LIKE existing_table;
INSERT new_table
SELECT * FROM existing_table;
CREATE TABLE new_table
SELECT col1, col2, col3
FROM
existing_table
WHERE
conditions;
INSERT INTO table2 (st_id,uid,changed,status,assign_status)
SELECT st_id,from_uid,now(),'Pending','Assigned'
FROM table1
CREATE TABLE employees_clone LIKE employees;
UPDATE `Table2`
JOIN `Table1` ON `Table1`.`a_id` = `Table2`.`id`
SET `Table2`.`txn_stamp` = `Table1`.`tranx_id`