mysql中去重复记录 Distinct 这个只能放在查询语句的最前面 select Distinct(id),id from table where 1 参考 : https://www.cnblogs.com/lushilin/p/6187743.html