1055 - Expression #1 of SELECT list is not in GROUP BY clause and contains解决
生活随笔
收集整理的這篇文章主要介紹了
1055 - Expression #1 of SELECT list is not in GROUP BY clause and contains解决
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
1055 - Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'btc.a.applicant_unit' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
?
?
執行下如下語句,然后重新運行語句,就可以正常查詢了。
set sql_mode ='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION';?
總結
以上是生活随笔為你收集整理的1055 - Expression #1 of SELECT list is not in GROUP BY clause and contains解决的全部內容,希望文章能夠幫你解決所遇到的問題。