SELECT DISTINCT dept_id FROM employees;
Write your query and click "Run Query" (Ctrl + Enter) to see results and testcase validation.