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