hiexam
oracle · 1z0-061 · Q602 · multiple_choice · topic_1

Evaluate the following SQL statement: //IMG// Which statement is true regarding the outcome of the above query?

Evaluate the following SQL statement: //IMG// Which statement is true regarding the outcome of the above query?
  • A.It executes successfully and displays rows in the descending order of PROMO_CATEGORY.
  • B.It produces an error because positional notation cannot be used in the order by clause with set operators.
  • C.It executes successfully but ignores the order by clause because it is not located at the end of the compound statement.
  • D.It produces an error because the order by clause should appear only at the end of a compound query-that is, with the last select statement.
Explanation
Yes D. Order by should be the last statement.

Reference: examtopics_top_comment

Practice with progress tracking

Sign in to track wrong answers, get spaced-repetition reminders, and run timed exam mode.