Oracle
1Z0-074 · Question #60
View the Exhibits and examine the structure of the COSTS and PROMOTIONS tables. You want to display PROD_IDS whose promotion cost is less than the highest cost PROD_ID in a promotion time interval. Ex
The correct answer is C. It executes successfully and gives the required result. Explanation/Reference:
New Features for Performance
Question
View the Exhibits and examine the structure of the COSTS and PROMOTIONS tables. You want to display PROD_IDS whose promotion cost is less than the highest cost PROD_ID in a promotion time interval. Examine this SQL statements:
What will be the result? Exhibit 1. Exhibit 2.
Exhibit
Options
- AIt gives an error because the GROUP BY clause is not valid
- BIt executes successfully but does not give the required result
- CIt executes successfully and gives the required result
- DIt gives an error because the ALL keyword is not valid
How the community answered
(34 responses)- A12% (4)
- B6% (2)
- C79% (27)
- D3% (1)
Explanation
Explanation/Reference:
Topics
#SQL subquery#ALL keyword#GROUP BY#query execution
Community Discussion
No community discussion yet for this question.
