ClickHouse/tests/queries/0_stateless/01902_self_aliases_in_columns.sql
2021-06-07 23:59:38 +03:00

15 lines
227 B
SQL

CREATE TABLE a
(
`number` UInt64,
`x` MATERIALIZED x
)
ENGINE = MergeTree
ORDER BY number; --{ serverError 174}
CREATE TABLE foo
(
i Int32,
j ALIAS j + 1
)
ENGINE = MergeTree() ORDER BY i; --{ serverError 174}