MySQL: 1055 - Expression #1 ; this is incompatible with sql_mode=only_full_group_by

 1055 - Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column ‘mysql-test-data.o1.seller_id‘ 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‘;

MySQL: 1055 - Expression #1 ; this is incompatible with sql_mode=only_full_group_by

上一篇:移动构造函数


下一篇:Android-View的孪生兄弟---SurfaceView入门