mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-05 15:21:43 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
9 lines
328 B
SQL
9 lines
328 B
SQL
DROP TABLE IF EXISTS add_materialized_column_after;
|
|
|
|
CREATE TABLE add_materialized_column_after (x UInt32, z UInt64) ENGINE MergeTree ORDER BY x;
|
|
ALTER TABLE add_materialized_column_after ADD COLUMN y String MATERIALIZED toString(x) AFTER x;
|
|
|
|
DESC TABLE add_materialized_column_after;
|
|
|
|
DROP TABLE add_materialized_column_after;
|