|
|
@ -18384,7 +18384,7 @@ from |
|
|
|
(select a, sum(b) as s from t2 group by a) as dt, |
|
|
|
t3 |
|
|
|
where dt.a=t1.a and t3.a < 3 |
|
|
|
) |
|
|
|
) as sq |
|
|
|
from t1 limit 5; |
|
|
|
id select_type table type possible_keys key key_len ref rows Extra |
|
|
|
1 PRIMARY t1 ALL NULL NULL NULL NULL 1000 |
|
|
@ -18398,14 +18398,9 @@ from |
|
|
|
(select a, sum(b) as s from t2 group by a) as dt, |
|
|
|
t3 |
|
|
|
where dt.a=t1.a and t3.a < 3 |
|
|
|
) |
|
|
|
) as sq |
|
|
|
from t1 limit 5; |
|
|
|
a ( select concat(t3.a,'=',dt.s) |
|
|
|
from |
|
|
|
(select a, sum(b) as s from t2 group by a) as dt, |
|
|
|
t3 |
|
|
|
where dt.a=t1.a and t3.a < 3 |
|
|
|
) |
|
|
|
a sq |
|
|
|
1 1=804 |
|
|
|
2 1=1056 |
|
|
|
3 1=846 |
|
|
@ -18424,7 +18419,7 @@ from |
|
|
|
(select a, sum(b) as s from t2 group by a) as dt, |
|
|
|
t3 |
|
|
|
where dt.a=t1.a and t3.a < 3 |
|
|
|
) |
|
|
|
) as sq |
|
|
|
from t1 limit 5; |
|
|
|
id select_type table type possible_keys key key_len ref rows Extra |
|
|
|
1 PRIMARY t1 ALL NULL NULL NULL NULL 1000 |
|
|
@ -18438,14 +18433,9 @@ from |
|
|
|
(select a, sum(b) as s from t2 group by a) as dt, |
|
|
|
t3 |
|
|
|
where dt.a=t1.a and t3.a < 3 |
|
|
|
) |
|
|
|
) as sq |
|
|
|
from t1 limit 5; |
|
|
|
a ( select concat(t3.a,'=',dt.s) |
|
|
|
from |
|
|
|
(select a, sum(b) as s from t2 group by a) as dt, |
|
|
|
t3 |
|
|
|
where dt.a=t1.a and t3.a < 3 |
|
|
|
) |
|
|
|
a sq |
|
|
|
1 1=11858 |
|
|
|
2 1=11380 |
|
|
|
3 1=11588 |
|
|
|