DISTINCT Keyword

Published July 26, 2025 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.

Was this solution helpful?

Your feedback helps improve our technical knowledge repository.

Share this article