mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-14 18:32:29 +00:00
17 lines
263 B
MySQL
17 lines
263 B
MySQL
|
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;
|