mysql版本的原因,sql中的日期格式有问题,5.7版本以下会报Illegal mix of collations for operation ‘>=’
修改下日期的格式即可。
11-24
662
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
07-13
8926
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
01-27
1173
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
07-04
1376
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
10-28
7988
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)