mysql 使用group by報錯 sql_mode=only_full_group_by

mysql 開啓only_full_group_by模式,該模式下使用mysql老版本的寫法取group by分組數據會報錯,報錯如下: `Expression #3 of SELECT list is not in GROUP BY clause and contains nonaggregated column ‘wenming-bj-mtg.comments.organization_id’
相關文章
相關標籤/搜索