1.背景
我本地mysql 8執行了一個SQL報錯
ysql> select * from tb_emp_bigdata group by id%10 limit 150000;
ERROR 1055 (42000): Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'explain_show.tb_emp_bigdata.id' whi
我本地mysql 8執行了一個SQL報錯
ysql> select * from tb_emp_bigdata group by id%10 limit 150000;
ERROR 1055 (42000): Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'explain_show.tb_emp_bigdata.id' whi