mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-06 14:32:22 +00:00
16 lines
284 B
SQL
16 lines
284 B
SQL
SET allow_experimental_analyzer = 1;
|
|
|
|
DROP TABLE IF EXISTS test_table;
|
|
CREATE TABLE test_table
|
|
(
|
|
c0 String ALIAS c1,
|
|
c1 String,
|
|
c2 String,
|
|
) ENGINE = MergeTree ORDER BY c1;
|
|
|
|
INSERT INTO test_table VALUES ('a', 'b');
|
|
|
|
SELECT MAX(1) FROM test_table;
|
|
|
|
DROP TABLE test_table;
|