ExamQuestions.com

Register
Login
Oracle Database Administration I Exam Questions

Oracle

Oracle Database Administration I

50 / 52

Question 50:

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 statement: 
image
Exhibit 1. 
image
Exhibit 2. 
image
What will be the result? 

Answer options:

A. It gives an error because the ALL keyword is not valid
B. It gives an error because the GROUP BY clause is not valid
C. It executes successfully but does not give the required result
D. It executes successfully and gives the required result