Improved the use of alias names in 'order by' and 'group-by' clauses.