QuestionQ50

VerifiedUsing the SET Operators

Evaluate this SQL statement:

Question Image

Which statement is true about the outcome of the query above?

Explanation

In an Oracle compound query using UNION, positional notation such as ORDER BY 2 is valid, but the ORDER BY clause may appear only in the final component query and applies to the entire combined result. Placing it in the first SELECT before UNION produces an error.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!