语法:SELECT DISTINCT 列名 FROM 表名;示例:查询 employees 表,显示唯一的部门 ID。select distinct department_id from employees;