- mysql> create table test_const (
- -> test_id int,
- -> test_context varchar(10),
- -> primary key (`test_id`),
- -> );
- insert into test_const values(1,'hello');
- explain select * from ( select * from test_const where
推荐阅读
远胜微软谷歌等翻译器 | 基于神经网络和超级计算机的DeepL Translator
Microsoft Translator是微软旗下的翻译对象,痊愈客岁成功切换至神经网路。当时,微软表示比拟较今朝行业内主流的统计机械翻译(SMT)技巧,神经收集架构可以或许大年夜幅晋升翻译质量。德>>>详细阅读
本文标题:优化SQL语句的一般步骤
地址:http://www.17bianji.com/lsqh/37055.html
1/2 1
优化SQL语句的一般步骤
作者: 来源: 2017-08-31 16:11:21 阅读次 我要评论
where a.film_id = b.film_id \G *************************** 1. row *************************** id: 1 select_type: SIMPLE table: b partitions: NULL type: ALL possible_keys: PRIMARY key: NULL key_len: NULL ref: NULL rows: 1000 filtered: 100.00 Extra: NULL *************************** 2. row *************************** id: 1 select_type: SIMPLE table: a partitions: NULL type: eq_ref possible_keys: PRIMARY key: PRIMARY key_len: 2 ref: sakila.b.film_id rows: 1 filtered: 100.00 Extra: Using where 2 rows in set, 1 warning (0.03 sec)
关键词: 探索发现
乐购科技部分新闻及文章转载自互联网,供读者交流和学习,若有涉及作者版权等问题请及时与我们联系,以便更正、删除或按规定办理。感谢所有提供资讯的网站,欢迎各类媒体与乐购科技进行文章共享合作。



