mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 21:51:57 +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;
|