ClickHouse/tests/queries/0_stateless/00668_compare_arrays_silviucpp.sql
Ivan 97f2a2213e
Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00

10 lines
308 B
SQL

DROP TABLE IF EXISTS array;
CREATE TABLE array (arr Array(Nullable(Float64))) ENGINE = Memory;
INSERT INTO array(arr) values ([1,2]),([3,4]),([5,6]),([7,8]);
select * from array where arr > [12.2];
select * from array where arr > [null, 12.2];
select * from array where arr > [null, 12];
DROP TABLE array;