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
What is blob data type in oracle?
What is the use of file param in imp command?
What query tells you how much space a tablespace named test is taking up, and how much space is remaining?
How many categories of data types in oracle?
How can you tell how much space is left on a given file system and how much space each of the file systems subdirectories take-up?
How to assign values to data fields in record variables?
HI ALL, CAN ANYONE TELL ME THE DIFFERENCES BETWEEN SQL CLUSTURS,MSQL CLUSTERS,ORACLE CLUSTERS.......THANKS IN ADVANCE
What is concurrency in oracle?
What are the advantages of oracle?
Explain what are the type of synonyms?
Explain do view contain data?
How to initialize variables with default values?
What is tns service name?
What is a read write transaction in oracle?
How to drop a tablespace?