odbc.result
来自「视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.」· RESULT 代码 · 共 28 行
RESULT
28 行
drop table if exists t1;select {fn length("hello")}, { date "1997-10-20" };{fn length("hello")} 1997-10-205 1997-10-20create table t1 (a int not null auto_increment,b int not null,primary key (a,b));insert into t1 SET A=NULL,B=1;insert into t1 SET a=null,b=2;select * from t1 where a is null and b=2;a b2 2select * from t1 where a is null;a bexplain select * from t1 where b is null;id select_type table type possible_keys key key_len ref rows Extra1 SIMPLE NULL NULL NULL NULL NULL NULL NULL Impossible WHEREdrop table t1;CREATE TABLE t1 (a INT AUTO_INCREMENT PRIMARY KEY);INSERT INTO t1 VALUES (NULL);SELECT sql_no_cache a, last_insert_id() FROM t1 WHERE a IS NULL;a last_insert_id()1 1SELECT sql_no_cache a, last_insert_id() FROM t1 WHERE a IS NULL;a last_insert_id()SELECT sql_no_cache a, last_insert_id() FROM t1;a last_insert_id()1 1DROP TABLE t1;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?