Created
June 20, 2012 14:29
-
-
Save felipemesquita/2960163 to your computer and use it in GitHub Desktop.
Verificando duplicidade em tabela
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 campo1, campo2, campo3, count(*) | |
from tabela | |
group by campo1, campo2, campo3 | |
having count(*) > 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment