|
I have the table XXX and the field Age (int). The existing query is as follows:
select Age 'Age', Age-5 'Age 2' from XXX;
Now I want to sort by 'age 2, the following wording is incorrect:
select Age 'Age', Age-5 'Age 2' from XXX order by 'Age 2';
How do I do that? |
|