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
12 lines
370 B
SQL
12 lines
370 B
SQL
DROP TABLE IF EXISTS t1_00856;
|
|
DROP TABLE IF EXISTS t2_00856;
|
|
CREATE TABLE t1_00856 (n Int32) ENGINE = Memory;
|
|
CREATE TABLE t2_00856 (a Int32, n Int32) ENGINE = Memory;
|
|
|
|
SELECT count() FROM t1_00856 WHERE if(1, 1, n = 0);
|
|
SELECT count(n) FROM t2_00856 WHERE if(1, 1, n = 0);
|
|
SELECT count() FROM t2_00856 WHERE if(1, 1, n = 0);
|
|
|
|
DROP TABLE t1_00856;
|
|
DROP TABLE t2_00856;
|