238
238
explain extended select a,b, oref, (a,b) in (select a,b from t1 where c=t2.oref) Z from t2;
239
239
id select_type table type possible_keys key key_len ref rows filtered Extra
240
240
1 PRIMARY t2 ALL NULL NULL NULL NULL 2 100.00
243
243
Note 1276 Field or reference 'test.t2.oref' of SELECT #2 was resolved in SELECT #1
244
244
Note 1003 select `test`.`t2`.`a` AS `a`,`test`.`t2`.`b` AS `b`,`test`.`t2`.`oref` AS `oref`,<in_optimizer>((`test`.`t2`.`a`,`test`.`t2`.`b`),<exists>(<index_lookup>(<cache>(`test`.`t2`.`a`) in t1 on a checking NULL where ((`test`.`t1`.`c` = `test`.`t2`.`oref`) and trigcond(((<cache>(`test`.`t2`.`a`) = `test`.`t1`.`a`) or isnull(`test`.`t1`.`a`))) and trigcond(((<cache>(`test`.`t2`.`b`) = `test`.`t1`.`b`) or isnull(`test`.`t1`.`b`)))) having (trigcond(<is_not_null_test>(`test`.`t1`.`a`)) and trigcond(<is_not_null_test>(`test`.`t1`.`b`)))))) AS `Z` from `test`.`t2`