Which two statements are true about the ORDER BY clause when used with a SQL statement containing a SET operator such as UNION?

Which two statements are true about the ORDER BY clause when used with a SQL statement containing a SET operator such as UNION?
A. Each SELECT statement in the compound query must have its own ORDER BY clause.
B. Each SELECT statement in the compound query can have its own ORDER BY clause.
C. Column positions must be used in the ORDER BY clause.
D. The first column in the first SELECT of the compound query with the UNION operator is used by default to sort output in the absence of an ORDER BY clause.
E. Only column names from the first SELECT statement in the compound query are recognized.

Download Printable PDF. VALID exam to help you PASS.

5 thoughts on “Which two statements are true about the ORDER BY clause when used with a SQL statement containing a SET operator such as UNION?

Leave a Reply

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


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