000-mysql小技巧

1.使用Navicat 链接5.7版本出现

  mysql 5.7.9 [Err] 1055报错解决,[Err] 1055 – Expression #1 of ORDER BY clause is not in GROUP BY

 使用:

SET sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));

2、

posted @ 2017-10-03 15:16  bjlhx15  阅读(225)  评论(0编辑  收藏  举报
Copyright ©2011~2020 JD-李宏旭