mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +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
|