Website Scripts And Cloud Tutorials

MySQL copy content from one column to another

Byadmin

Sep 11, 2012 , ,

Last updated on May 11th, 2016 at 01:37 pm

Click to rate this tutorial!
[Total: 1 Average: 5]

MySQL copy content from one column to another

This code will help us copy content from one table to another, we can use single column or multiple according to your requirement.

INSERT INTO table_2 (email) SELECT email FROM table_1 WHERE email='[email protected]'; 
Click to rate this tutorial!
[Total: 1 Average: 5]

Leave a Reply

Your email address will not be published.