Created
August 13, 2020 16:15
-
-
Save codewithtyler/50f8c1df314e2fa9dc92081d8bac2bdf to your computer and use it in GitHub Desktop.
Useful Oracle snippets
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 column1, count( column2 ) | |
from table | |
where column2 is not null | |
having count ( column2 ) > 1 | |
group by column2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment