24. Display the order number for all orders whose average
item cost is greater than the overall average item cost
across all orders.
Answer Posted / sarath
select ORDER_NO,AVG(ITEM_COST) from <TN>
Group by ORDER_NO
having AVG(ITEM_COST) > (Select Max(AVG(ITEM_COST)) from
<TN> Group by ORDER_NO)
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
How to write a left outer join with the where clause in oracle?
How to retrieve values from data fields in record variables?
Explain user account with reference to oracle.
Explain oracle left join with an example?
What is a system tablespace?
What is the recommended interval at which to run statspack snapshots, and why?
What are the numeric comparison operations?
How to write date and time interval literals in oracle?
How to set up autotrace for a user account?
What is Redo Log Buffer in Oracle?
How to export several tables together?
An automatic job running via DBMS_JOB has failedKnowing only that its failed, how do you approach troubleshooting this issue?
How to store pictures on to the database?
How do I manually create a database in oracle?
What is max rowid in oracle?