ClickHouse/dbms/tests/queries/0_stateless/00633_func_or_in.sql

9 lines
231 B
MySQL
Raw Normal View History

2018-07-18 06:27:06 +00:00
drop table if exists test.orin_test;
2018-07-18 04:56:51 +00:00
2018-07-18 06:27:06 +00:00
create table test.orin_test (c1 Int32) engine=Memory;
insert into test.orin_test values(1), (100);
2018-07-18 04:56:51 +00:00
2018-07-18 06:27:06 +00:00
select minus(c1 = 1 or c1=2 or c1 =3, c1=5) from test.orin_test;
2018-07-18 04:56:51 +00:00
2018-07-18 06:27:06 +00:00
drop table test.orin_test;