precedence.sql

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

SQL
21
字号
-- 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);insert into t1 values(1);select c11 from t1 where 1 in (1,2,3) = (1=1);--select c11 from t1 where 'acme widgets' like 'acme%' in (1=1);select c11 from t1 where 1 between -100 and 100 is not null;--select c11 from t1 where exists(select * from (values 1) as t) not in (1=2);

⌨️ 快捷键说明

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