Which of the following command is used with SQL SELECT statement in Oracle to…
2018
Which of the following command is used with SQL SELECT statement in Oracle to return only distinct (different) values?
- A.
UNIQUE
- B.
DIFFERENT
- C.
DISTINCT
- D.
SINGLE
Attempted by 514 students.
Show answer & explanation
Correct answer: C
In Oracle SQL, the DISTINCT keyword is used with SELECT to return only unique rows. UNIQUE is not a valid clause for this purpose in standard SELECT statements.