ClickHouse/tests/queries/0_stateless/00488_column_name_primary.sql
2022-09-06 00:14:55 -03:00

17 lines
263 B
SQL

DROP TABLE IF EXISTS primary;
CREATE TABLE primary
(
`primary` String
)
ENGINE = MergeTree
ORDER BY primary
settings min_bytes_for_wide_part=0,min_bytes_for_wide_part=0
AS
SELECT *
FROM numbers(1000);
select max(primary) from primary;
DROP TABLE primary;