Created
April 20, 2016 18:58
-
-
Save ChrisFlannagan/00cc0fb7f5873800207c7da4bb4db591 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 ID, sm_email, sm_outfit, COUNT( * ) | |
FROM orders | |
GROUP BY sm_email, sm_outfit | |
HAVING COUNT( * ) >1 | |
LIMIT 0 , 400 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment