mybatis中group by 語句中SQL報錯,原因是MySQL版本的group規則默認是:only_full_group_by

報錯信息: ......not in GROUP BY clause and contains nonaggregated column ......  which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by 查看
相關文章
相關標籤/搜索