mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +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;
|