1. group by 和 where 同时使用 where > group by
2. max,where,group by同时使用 where > group by > max
很多时候我们使用了第二种的时候会出现数据数据错位的问题,