postgresql sélectionnez As et fwre par ce champ

Column alias is not supported in WHERE or HAVING clauses.
Splendid Stoat