使用distinct 和group by都可以实现数据去重。 select distinct 字段 group by 一般放在where条件后 转载于:https://www.cnblogs.com/houweijian/p/3196264.html