Robert Haas <robertmhaas@xxxxxxxxx> writes: > 2009/1/22 Informatica-Cooperativa Cnel. Oviedo <informatica@xxxxxxxxxxxxxxx>: >> SELECT id, sum(salario) as SumaSalario >> FROM salarios >> GROUP BY id >> HAVING SumaSalario>500; > I've wished for that syntax once or twice myself, but I'm assuming > there's a reason we haven't implemented it? It's contrary to standard. There are some other reasons you can find in the archives, too. regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general