A linguagem SQL executa as funções agregadas, do tipo média, acumulações e outras, por meio do comando
where.
having.
distinct.
order by.
group by.