相当于对每个 id 执行一次 where id =
因为 group by 不是普通的 select , 所以不是用 where , 而是用 having
group by
原文:https://www.cnblogs.com/yangzihong/p/11905516.html