SQL中 distinct用于返回唯一不同的值。
语法:
SELECT DISTINCT 列名称 FROM 表名称
转载至:http://www.w3school.com.cn/sql/sql_distinct.asp