precedence.out

来自「derby database source code.good for you.」· OUT 代码 · 共 24 行

OUT
24
字号
ij> -- this tests precedence of operators.-- test precedence of operators other than and, or, and not-- that return boolean.-- expect 'true' row:create table t1(c11 int);0 rows inserted/updated/deletedij> insert into t1 values(1);1 row inserted/updated/deletedij> select c11 from t1 where 1 in (1,2,3) = (1=1);C11        -----------1          ij> --select c11 from t1 where 'acme widgets' like 'acme%' in (1=1);ERROR 42X01: Syntax error: Encountered "=" at line 2, column 59.ij> select c11 from t1 where 1 between -100 and 100 is not null;C11        -----------1          ij> --select c11 from t1 where exists(select * from (values 1) as t) not in (1=2);ERROR 42X01: Syntax error: Encountered "=" at line 2, column 73.ij> 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?