92
92
2 DEPENDENT SUBQUERY t1 ALL a NULL NULL NULL 5 80.00 Using where
94
94
Note 1276 Field or reference 'test.t2.oref' of SELECT #2 was resolved in SELECT #1
95
Note 1003 select "test"."t2"."oref" AS "oref","test"."t2"."a" AS "a",<in_optimizer>("test"."t2"."a",<exists>(select 1 AS "Not_used" from "test"."t1" where (("test"."t1"."oref" = "test"."t2"."oref") and trigcond(((<cache>("test"."t2"."a") = "test"."t1"."a") or isnull("test"."t1"."a")))) having trigcond(<is_not_null_test>("test"."t1"."a")))) AS "Z" from "test"."t2"
95
Note 1003 select `test`.`t2`.`oref` AS `oref`,`test`.`t2`.`a` AS `a`,<in_optimizer>(`test`.`t2`.`a`,<exists>(select 1 AS `Not_used` from `test`.`t1` where ((`test`.`t1`.`oref` = `test`.`t2`.`oref`) and trigcond(((<cache>(`test`.`t2`.`a`) = `test`.`t1`.`a`) or isnull(`test`.`t1`.`a`)))) having trigcond(<is_not_null_test>(`test`.`t1`.`a`)))) AS `Z` from `test`.`t2`
97
97
select oref, a from t2 where a in (select a from t1 where oref=t2.oref);
100
100
show status like '%Handler_read_rnd_next';
104
104
insert into t2 values (NULL, 0),(NULL, 0), (NULL, 0), (NULL, 0);