Created
July 11, 2014 15:08
-
-
Save tic984/132581a437590d1bbf3a to your computer and use it in GitHub Desktop.
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
| DELETE t2 FROM `mysr_data_table2` t1, `mysr_data_table2` t2 | |
| WHERE | |
| t1.`country` = 9969977496 | |
| AND t1.version = 6 | |
| AND t1.country = t2.country | |
| AND t1.version = t2.version | |
| AND t1.`origin` = t2.`origin` | |
| AND t2.id > t1.id | |
| DELETE t2 FROM `mysr_data_table1` t1, `mysr_data_table1` t2 WHERE | |
| t1.`country` = 9969977496 | |
| AND t1.version = 6 | |
| AND t1.country = t2.country | |
| AND t1.version = t2.version | |
| AND t1.`data_origin` = t2.`data_origin` | |
| AND t2.id > t1.id |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment