Zeugswetter Andreas SB <ZeugswetterA(at)wien(dot)spardat(dot)at> writes:
> Informix and DB/2 allow column numbering in the group by clause.
What do they do with
SELECT foo AS bar FROM table GROUP BY bar
?
What do they do if bar is the real name of another column in the table?
regards, tom lane