语法: SELECT DISTINCT column FROM table 当对系统的性能要求高并且数据量大时使用group by ;当对系统的性能要求不高时或者数据量少时两者皆可 ;distinct效率不高,尽量使用group by;