BY子句;这与sql_mode = only_full_group_by不兼容

时间:2019-03-23 02:39:51

标签: mysql sql

将网站移至新服务器后 我得到这个错误 和我一起

----
A Database Error Occurred

Error Number: 1055

Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'xxx_xxx.ts_emaillist.e_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

SELECT * FROM `ts_emaillist` GROUP BY `e_email`

Filename: models/DatabaseModel.php

Line Number: 89

0 个答案:

没有答案