nerdexam
Oracle

1Z0-071 · Question #445

Examine the description of the EMPLOYEES table: Which statement will execute successfully, returning distinct employees with non-null first names?

The correct answer is A. SELECT first_name, DISTINCT last_name FROM employees WHERE first_name <> NULL. See the full explanation below for the reasoning.

Question

Examine the description of the EMPLOYEES table:

Which statement will execute successfully, returning distinct employees with non-null first names?

Exhibit

1Z0-071 question #445 exhibit

Options

  • ASELECT first_name, DISTINCT last_name FROM employees WHERE first_name <> NULL;
  • BSELECT first_name, DISTINCT last_name FROM employees WHERE first_name IS NOT NULL;
  • CSELECT DISTINCT * FROM employees WHERE first_name IS NOT NULL;
  • DSELECT DISTINCT * FROM employees WHERE first_name <> NULL;

How the community answered

(28 responses)
  • A
    71% (20)
  • B
    7% (2)
  • C
    4% (1)
  • D
    18% (5)

Community Discussion

No community discussion yet for this question.

Full 1Z0-071 Practice