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
What is the data pump import utility?
What is concurrency in oracle?
What is Data Dictionary Cache in Oracle?
Describe an oracle table?
What are data pump export and import modes?
How do you store pictures in a database?
How many memory layers are in the oracle shared pool?
How to return top 5 rows in oracle?
Explain the difference between a procedure and a function?
What are temporal data types in oracle?
How will you write a query to get a 5th rank student from a table student_report?
Explain the different normalization forms?
Explain what are the type of synonyms?
what are the default admin accounts in Oracle 10g ?
Explain what are clusters?