Select com subselect e condicional (Invalid use of group function) | Fórum iMasters