Created
January 20, 2016 11:42
-
-
Save BenjaminLu/cb71618f37171ea1c258 to your computer and use it in GitHub Desktop.
This file contains 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 `copy_db_broker`.`order` ( | |
SELECT * | |
FROM `original_db`.`order` | |
WHERE `original_db`.`order`.`id` NOT IN ( | |
SELECT `id` | |
FROM `copy_db_broker`.`order` | |
) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment