Skip to content

Instantly share code, notes, and snippets.

@waldyrfelix
Created November 8, 2011 17:37
Show Gist options
  • Save waldyrfelix/1348483 to your computer and use it in GitHub Desktop.
Save waldyrfelix/1348483 to your computer and use it in GitHub Desktop.
Teste usando left outer join para a consulta
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