sqlstate[42000]: syntax error or access violation: 1140 mixing of group columns (min(),max(),count(),...) with no group columns is illegal if there is no group by clause
0
SQLSTATE[42000]: Syntax error or access violation: 1140 Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause