What will be the result?

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:

Exhibit 1.

Exhibit 2.

What will be the result?
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

Download Printable PDF. VALID exam to help you PASS.

3 thoughts on “What will be the result?

  1. < ALL means less than the LOWEST number.
    Shouldn't is be < ANY to exclude only the most expensive item?

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.