Write an SQL query to retrieve distinct values from the "department" column of the "employees" table.

Last Updated :
Discuss
Comments

Write an SQL query to retrieve distinct values from the "department" column of the "employees" table.

SELECT DISTINCT department FROM employees;

SELECT UNIQUE department FROM employees;

SELECT department FROM employees DISTINCT;

SELECT department DISTINCT FROM employees;

Share your thoughts in the comments