Código SQL [-] select cest, count(nesc) from personal (nolock) group by cest
select cest, count(nesc) from personal (nolock) group by cest