1. 程式人生 > >OCP-1Z0-051 補充題庫 第10題 集合操作中的ORDER BY子句

OCP-1Z0-051 補充題庫 第10題 集合操作中的ORDER BY子句

Evaluate the following SQL statement:

Which statement is true regarding the outcome of the above query?
A. 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
B. It executes successfully and displays rows in the descending order of PROMO_CATEGORY
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 positional notation cannot be used in the ORDER BY clause with
SET operators

答案:A