mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-05 14:02:21 +00:00
22 lines
263 B
Plaintext
22 lines
263 B
Plaintext
SELECT
|
|
date,
|
|
v
|
|
FROM t_02147
|
|
ORDER BY
|
|
toStartOfHour(date) ASC,
|
|
v ASC
|
|
SELECT
|
|
date,
|
|
v
|
|
FROM t_02147_dist
|
|
ORDER BY
|
|
toStartOfHour(date) ASC,
|
|
v ASC
|
|
SELECT
|
|
date,
|
|
v
|
|
FROM t_02147_merge
|
|
ORDER BY
|
|
toStartOfHour(date) ASC,
|
|
v ASC
|