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 rename a column in an existing table?
What is a read write transaction in oracle?
Why is oracle so popular?
master table and child table performances and comparisons in Oracle ?
What is oracle join syntax?
Can the query output be sorted by multiple columns in oracle?
what is the difference between data migration and production migration.
What do you understand by a database object?
How to create a new user account in oracle?
For a field in a repeating frame, can the source come from the column which does not exist in the data group which forms the base for the frame ?
Can you have more than one content canvas view attached with a window ?
What would you do with an in-doubt distributed transaction?
What is the order of defining local variables and sub procedures/functions?
How to assign values to variables?
How to export data to a csv file?