///
ALUNOS(ID,Nome,Endereço,Cidade,UF)
DISCIPLINA(Cod_disciplina, Nome_diciplina, Carga_horaria)
O comando a seguir está sintaticamente correto em PostgreSql.
select count(_) total, Cidade, UF
from ALUNOS
group by Cidade, UF
having nome like 'maria%' and count(_) > 5
order by count(_) desc;