mysql use alias in having code example Example: alias mysql SELECT coluna AS alias_coluna FROM tabela AS alias_tabela;