key_diff.test
来自「视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.」· TEST 代码 · 共 25 行
TEST
25 行
## Check on condition on different length keys.--disable_warningsdrop table if exists t1;--enable_warningsCREATE TABLE t1 ( a char(5) NOT NULL, b char(4) NOT NULL, KEY (a), KEY (b));INSERT INTO t1 VALUES ('A','B'),('b','A'),('C','c'),('D','E'),('a','a');select * from t1,t1 as t2;explain select t1.*,t2.* from t1,t1 as t2 where t1.A=t2.B;#select t1.*,t2.* from t1,t1 as t2 where t1.A=t2.B;select t1.*,t2.* from t1,t1 as t2 where t1.A=t2.B order by binary t1.a,t2.a;select * from t1 where a='a';drop table t1;# End of 4.1 tests
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?