mirror of
https://github.com/MariaDB/server.git
synced 2026-05-06 23:25:34 +02:00
parent
b3817425d9
commit
b942f41438
1 changed files with 1 additions and 1 deletions
|
|
@ -1671,7 +1671,7 @@ Note 1003 select `test`.`t1`.`a` AS `a`,`test`.`t1`.`b` AS `b` from `test`.`t1`
|
||||||
# gives selectivity data
|
# gives selectivity data
|
||||||
explain extended select * from t1 where a in (17,51,5) and b=2;
|
explain extended select * from t1 where a in (17,51,5) and b=2;
|
||||||
id select_type table type possible_keys key key_len ref rows filtered Extra
|
id select_type table type possible_keys key key_len ref rows filtered Extra
|
||||||
1 SIMPLE t1 ref b,a b 5 const 59 2.90 Using where
|
1 SIMPLE t1 range|filter b,a a|b 5|5 NULL 29 (6%) 5.90 Using index condition; Using where; Using rowid filter
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1003 select `test`.`t1`.`a` AS `a`,`test`.`t1`.`b` AS `b` from `test`.`t1` where `test`.`t1`.`b` = 2 and `test`.`t1`.`a` in (17,51,5)
|
Note 1003 select `test`.`t1`.`a` AS `a`,`test`.`t1`.`b` AS `b` from `test`.`t1` where `test`.`t1`.`b` = 2 and `test`.`t1`.`a` in (17,51,5)
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue