Re: Temp field or variable
Posted by:
pearsojd
Date: August 18, 2004 10:32AM
Hi,
Just depends on what attributes you have. Eg you have a table containing `order_amount` and `cost`
select (order_amount * cost) as total from my_table order by total;
It depends how you want it `ordered`. The above example will be ascending order or use `order by total desc` for descending order.
James.
Subject
Written By
Posted
Re: Temp field or variable
August 18, 2004 10:32AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.