摘要:
create table t1_outerjoin(a int, b int , c int); create table t2_outerjoin(a int); create table t3_outerjoin(a int, b int); create table t4_outerjoin(a int); SELECT * FROM t1_outerjoin ... 阅读全文
posted @ 2018-08-27 21:17
友哥
阅读(113)
评论(0)
推荐(0)
摘要:
当然是在折腾了很长时间之后 阅读全文
posted @ 2018-08-27 20:37
友哥
阅读(190)
评论(0)
推荐(0)
摘要:
explain extended select count(*) from (select id from states where country_id 10 and name='aaa')) t; +----+--------------+------------+-------+---------------+---------+---------+------+------+-----... 阅读全文
posted @ 2018-08-27 19:34
友哥
阅读(1896)
评论(0)
推荐(0)
摘要:
QUERY: explain extended select id from states where country_id 10) TRACE: { "steps": [ { "join_preparation": { "select#": 1, "steps": [ ... 阅读全文
posted @ 2018-08-27 19:28
友哥
阅读(233)
评论(0)
推荐(0)
摘要:
mysql> explain extended select * from cities where id in (select phonecode from countries group by name); +----+-------------+-----------+--------+---------------+---------+---------+--------------... 阅读全文
posted @ 2018-08-27 19:24
友哥
阅读(236)
评论(0)
推荐(0)
摘要:
explain select `countries`.`id` AS `id`,`countries`.`sortname` AS `sortname`,`countries`.`name` AS `name`,`countries`.`phonecode` AS `phonecode` from 阅读全文
posted @ 2018-08-27 19:18
友哥
阅读(311)
评论(0)
推荐(0)
浙公网安备 33010602011771号