DISTINCT Keyword
Published September 28, 2026
By Sai Sree Ram Gundepudi
DISTINCT Keyword
DISTINCT is used to return only unique values.
SELECT DISTINCT department_id FROM employees;You can use it with multiple columns as well.