存储过程错误

[Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated

解决方法:
select version(), @@sql_mode;
SET sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));


[Err] 1418 - This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration a

set global log_bin_trust_function_creators=TRUE;
上一篇:解决MySQL Update:You can't specify target table for update in FROM clause


下一篇:mysql出现You can’t specify target table for update in FROM clause