Monday 24 July 2017

How to copy records from one table too another in Mysql ?

In this example we are going to see the mysql query to copy data from one table too another.
 
INSERT INTO table_b SELECT id, column_a FROM table_a;

No comments:

Post a Comment

Advertisement

Advertisement