nerdexam
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

1Z0-074 question #60 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)
  • A
    12% (4)
  • B
    6% (2)
  • C
    79% (27)
  • D
    3% (1)

Explanation

Explanation/Reference:

Topics

#SQL subquery#ALL keyword#GROUP BY#query execution

Community Discussion

No community discussion yet for this question.

Full 1Z0-074 Practice