> I still am unclear which of these are valid SQL:> > select a as b from test order by a> select a as b from test order by b> Both are valid, and don't forget the third variant:
> select a as b from test order by 1> Andreas