2. Display the item number and total cost for each order
line (total cost = no of items X item cost). Name the
calculated column TOTAL COST.
Answer Posted / ajit
select itemnum,totalcost
from <tab name>
group by cube(itemnum, totalcost);
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can sub procedure/function be called recursively?
What is the difference between alert log file and tarce file ?
What is the difference between truncate & delete command?
What types of joins are used in writing subqueries?
How to drop a stored procedure in oracle?
How to unlock the sample user account in oracle?
What to do if dba lost the system password?
Explain view?
can u plz provide me oca sql dumps please i need them
Can u please explain me the Discussion on Except ,using cast like type cast. Question in the context of difference between two tables
What is materialized view in Oracle?
How to drop an index in oracle?
What is merge in oracle?
What is the use of file param in imp command?
Why packages are used in oracle?