mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 11:22:12 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
8 lines
397 B
SQL
8 lines
397 B
SQL
SELECT sumIf(number, x), sum(x) FROM (SELECT number, number IN (0 + 1, 2 + 3, toUInt64(concat('8', ''))) AS x FROM system.numbers LIMIT 10);
|
|
SELECT toDate('2015-06-12') IN toDate('2015-06-12');
|
|
SELECT toDate('2015-06-12') IN (toDate('2015-06-12'));
|
|
SELECT today() IN (toDate('2014-01-01'), toDate(now()));
|
|
SELECT - -1 IN (2 - 1);
|
|
SELECT - -1 IN (2 - 1, 3);
|
|
WITH (1, 2) AS a SELECT 1 IN a, 3 IN a;
|