125
125
1 SIMPLE t1 range b b 12 NULL X Using where
126
126
select * from t1 where a is null;
131
131
select * from t1 where a is null and b = 7 and c=0;
133
134
select * from t1 where a<=>b limit 2;
137
138
select * from t1 where (a is null or a > 0 and a < 3) and b < 5 limit 3;
141
142
select * from t1 where (a is null or a > 0 and a < 3) and b > 7 limit 3;
145
146
select * from t1 where (a is null or a = 7) and b=7 and c=0;
147
150
select * from t1 where a is null and b=9 or a is null and b=7 limit 3;
152
155
select * from t1 where b like "6%";
157
160
create temporary table t1 (a int, b int not null,unique key (a,b),index(b)) engine=myisam;