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 oracle analytical function?
What is oracle rownum?
How to view existing locks on the database?
How do I start tns listener?
Difference between cartesian join and cross join?
Explain oracle insert into command?
What is the use of file param in imp command?
How to convert times to characters in oracle?
What is oracle rowcount?
Using the relations and the rules set out in the notes under each relation, write table create statements for the relations EMPLOYEE, FIRE and DESPATCH. You should aim to provide each constraint with a formal name, for example table_column_pk.
What is max rowid in oracle?
How to delete a column in an existing table in oracle?
What is the data pump import utility?
Explain the use of record option in exp command.
What do you know about normalization? Explain in detail?