SQL Output Prediction Easy +10 XP
DISTINCT Keyword
What does DISTINCT do?
SQLRead-only
SELECT DISTINCT department FROM employees;
What is the output?
Show answer and explanation
Answer: Returns unique department values only
DISTINCT removes duplicate values from the result set.
Hint: DISTINCT removes duplicates.
What this challenge tests
Output Prediction in SQL: distinct, basics.