Last active
August 10, 2018 14:35
-
-
Save jfrux/1c294bb6ceb305d87d75c9416bef0868 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
SELECT * FROM core_recipeitem RI1 | |
LEFT JOIN core_recipeitem RI2 ON RI1.item_id = RI2.item_id |
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
SELECT * FROM core_recipeitem RI1 | |
LEFT JOIN (SELECT item_id FROM core_recipeitem) As RI2 ON RI1.item_id = RI2.item_id |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment