在 mysql 5.7版本 出现 ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘mysql> set global sql_mode=’NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES” at line 1
我是因为 执行 了 group by 语句 出错的
select * from recordTable group by user_number;
在 mysql 中 查看:
mysql> select @@session.sql_mode;
出现:
原文作者:JoeWcc
原文地址: https://www.jianshu.com/p/4fb15cc8e8ef
本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。