mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 10:52:30 +00:00
17 lines
263 B
SQL
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;
|