刚搭建完mysql 8.0以后会: 一.表区分大小写, 二.执行正确的sql语句成功且会报:[Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and ....错误. 版本是mysql 5.6或 myql 8.0以下方案解决 : 1.安装完后,执行sql语句没问题,但是会报错:在/etc/my.cnf数据库的配置文件加上下面这段配置然后重启mysql服务 sql_mode=STRICT_TRANS_TAB…
例如:我现在要同时执行这么多语句 update community set xqmc=replace(xqmc,' ',''); update community set xqbm=replace(xqbm,' ',''); update community set dkxx=replace(dkxx,' ',''); update community set ssqy=replace(ssqy,' ',''); update community set ssjd=replace(ssjd,'…
EXPLAIN EXTENDED 1先执行 EXPLAIN EXTENDED 2 show warnings: EXPLAIN EXTENDED SELECT * FROM `receivable_application_relation` d WHERE d.`application_id` IN (SELECT id FROM application WHERE application_code IN ( 'ZYHT20190305192721001', 'ZYHT20190309152…