<[EMAIL PROTECTED]> writes: >> Aliases in the select list are not in scope in the having clause.
> it will be good if aliases will be in scope of 'having' clause. Feel free to try to convince the SQL standards committee ... regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs