Created
May 31, 2013 08:01
-
-
Save addorange/5683521 to your computer and use it in GitHub Desktop.
MySQL - Copy data from one table to another, even if they have different structures
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| INSERT INTO `s_campaigns_mailaddresses` (`customer`,`email`) | |
| SELECT '1', `email` | |
| FROM `s_user` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment