Skip to content

Instantly share code, notes, and snippets.

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