mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
12 lines
397 B
SQL
12 lines
397 B
SQL
DROP TABLE IF EXISTS test_00209;
|
|
CREATE TABLE test_00209 (x UInt8) ENGINE = Log;
|
|
|
|
INSERT INTO test_00209 SELECT 1 AS x;
|
|
INSERT INTO test_00209 SELECT 1 AS x SETTINGS extremes = 1;
|
|
INSERT INTO test_00209 SELECT 1 AS x GROUP BY 1 WITH TOTALS;
|
|
INSERT INTO test_00209 SELECT 1 AS x GROUP BY 1 WITH TOTALS SETTINGS extremes = 1;
|
|
|
|
SELECT count(), min(x), max(x) FROM test_00209;
|
|
|
|
DROP TABLE test_00209;
|