很多时候我们查询出来的某个字段是会存在重复值的 那么可以用到这个关键词:DISTINCT去掉重复值 方法如下: 表名:table 字段:name select DISTINCT name FROM table 语法结构如下: select DISTINCT 字段名 from 表名