Advertisement
Guest User

Untitled

a guest
Nov 27th, 2014
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. SELECT c.descricao, f.nome, count(*) as qtd from historicos
  2. join funcionario f on f.cod_func = historicos.cod_func
  3. join cargo c on c.cod_cargo = f.cod_cargo
  4. group by c.dsc_cargo, f.nome
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement