MySQL 8.0以上版本 explain exteneded 报错问题 StarryNightBlue 2020-03-11 1,666 阅读1分钟 categories: 日常记录 tags: 数据库 今天测试时发现有一条命令报错 explain EXTENDED SELECT count() from OORDER where O_CARRIER_ID<10000; 网上的教程都是explain EXTENDED,后来查看官方文档发现 explain SELECT count() from OORDER where O_CARRIER_ID<10000; 就可以了,然后执行SHOW WARNINGS,就可以看到重构后的查询