mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
15 lines
175 B
SQL
15 lines
175 B
SQL
SELECT
|
|
x,
|
|
-x,
|
|
y
|
|
FROM
|
|
(
|
|
SELECT
|
|
5 AS x,
|
|
'Hello' AS y
|
|
)
|
|
ORDER BY
|
|
x ASC WITH FILL FROM 3 TO 7,
|
|
y ASC,
|
|
-x ASC WITH FILL FROM -10 TO -1;
|