Created
November 8, 2011 17:35
-
-
Save waldyrfelix/1348476 to your computer and use it in GitHub Desktop.
Teste usando subselect para a consulta
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 count(*) from categoria | |
where id not in (select categoria_id from produto) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment