Created
July 2, 2015 06:30
-
-
Save thirdknife/94fd37ae47fd281d77b6 to your computer and use it in GitHub Desktop.
Window Duplicates
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
| SELECT ogenes.window, ogenes.genes, ogenes.location FROM genes as ogenes | |
| INNER JOIN (SELECT window FROM genes | |
| GROUP BY window HAVING count(id) > 1) genes ON ogenes.window = genes.window order by ogenes.window asc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment