Last active
March 1, 2022 08:06
-
-
Save maxout/288c36e3acb511b4d2c25370b5519e4e to your computer and use it in GitHub Desktop.
delete duplicate order numbers from shopware s_order
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 FROM s_order USING s_order, s_order as Dup WHERE NOT s_order.`id` = Dup.`id` AND s_order.`id` <> Dup.`id` AND s_order.`ordernumber` = Dup.`ordernumber` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment