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
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)- A71% (20)
- B7% (2)
- C4% (1)
- D18% (5)
Community Discussion
No community discussion yet for this question.
