nerdexam
Oracle

1Z0-047 · Question #210

1Z0-047 Question #210: Real Exam Question with Answer & Explanation

The correct answer is A. ORDERBY 3; C. ORDER BY DEPT_ID;. See the full explanation below for the reasoning.

Question

View the Exhibit and examine the data in the DEPARTMENTS tables. Evaluate the following SQL statement: SELECT department_id "DEPT_ID", department_name , 'b' FROM departments WHERE department_id=90 UNION SELECT department_id, department_name DEPT_NAME, 'a' FROM departments WHERE department_id=10 Which two ORDER BY clauses can be used to sort the output of the above statement? (Choose two.)

Exhibit

1Z0-047 question #210 exhibit

Options

  • AORDERBY 3;
  • BORDER BY 'b';
  • CORDER BY DEPT_ID;
  • DORDER BY DEPT NAME;

Community Discussion

No community discussion yet for this question.

Full 1Z0-047 Practice