nerdexam
Oracle

1Z0-047 · Question #182

View the Exhibit and examine the description of the EMPLOYEES table. You executed the following SQL statement: SELECT first_name, department_id, salary FROM employees ORDER BY department_id…

The correct answer is C. The values in the FIRST_NAME column would be sorted in ascending order for all the employees having E. The values in the SALARY column would be sorted in descending order for all the employees having the. See the full explanation below for the reasoning.

Question

View the Exhibit and examine the description of the EMPLOYEES table. You executed the following SQL statement:

SELECT first_name, department_id, salary FROM employees ORDER BY department_id, first_name, salary desc; Which two statements are true regarding the output of the above query? (Choose two.)

Exhibit

1Z0-047 question #182 exhibit

Options

  • AThe values in all the columns would be sorted in the descending order.
  • BThe values in the SALARY column would be sorted in descending order for all the employees having
  • CThe values in the FIRST_NAME column would be sorted in ascending order for all the employees having
  • DThe values in the FIRST_NAME column would be sorted in the descending order for all the employees
  • EThe values in the SALARY column would be sorted in descending order for all the employees having the

How the community answered

(27 responses)
  • A
    4% (1)
  • B
    4% (1)
  • C
    81% (22)
  • D
    11% (3)

Community Discussion

No community discussion yet for this question.

Full 1Z0-047 Practice