select username,count(type) from fine_record_execute where todate(time)>='2020-12-01 00:00:00' and todate(time)<='2021-01-20 23:59:59' and type>=30 and type <= 34 GROUP BY username 不用group by 的时候,不会有问题,用了后,就一直有问题,这个到底是什么情况
同样的语句,只是type不一样,,但是不会报错。。
|
立即参与
