Created
November 8, 2011 17:37
-
-
Save waldyrfelix/1348483 to your computer and use it in GitHub Desktop.
Teste usando left outer join 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 c | |
left outer join produto p on c.Id = p.categoria_id | |
where p.id is null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment