📄 func_equal.result
字号:
drop table if exists t1,t2;select 0<=>0,0.0<=>0.0,0E0=0E0,"A"<=>"A",NULL<=>NULL;0<=>0 0.0<=>0.0 0E0=0E0 "A"<=>"A" NULL<=>NULL1 1 1 1 1select 1<=>0,0<=>NULL,NULL<=>0;1<=>0 0<=>NULL NULL<=>00 0 0select 1.0<=>0.0,0.0<=>NULL,NULL<=>0.0;1.0<=>0.0 0.0<=>NULL NULL<=>0.00 0 0select "A"<=>"B","A"<=>NULL,NULL<=>"A";"A"<=>"B" "A"<=>NULL NULL<=>"A"0 0 0select 0<=>0.0, 0.0<=>0E0, 0E0<=>"0", 10.0<=>1E1, 10<=>10.0, 10<=>1E1;0<=>0.0 0.0<=>0E0 0E0<=>"0" 10.0<=>1E1 10<=>10.0 10<=>1E11 1 1 1 1 1select 1.0<=>0E1,10<=>NULL,NULL<=>0.0, NULL<=>0E0;1.0<=>0E1 10<=>NULL NULL<=>0.0 NULL<=>0E00 0 0 0create table t1 (id int, value int);create table t2 (id int, value int);insert into t1 values (1,null);insert into t2 values (1,null);select t1.*, t2.*, t1.value<=>t2.value from t1, t2 where t1.id=t2.id and t1.id=1;id value id value t1.value<=>t2.value1 NULL 1 NULL 1select * from t1 where id <=>id;id value1 NULLselect * from t1 where value <=> value;id value1 NULLselect * from t1 where id <=> value or value<=>id;id valuedrop table t1,t2;create table t1 (a bigint unsigned);insert into t1 values (4828532208463511553);select * from t1 where a = '4828532208463511553';a4828532208463511553select * from t1 where a in ('4828532208463511553');a4828532208463511553drop table t1;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -