mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 10:52:30 +00:00
15 lines
175 B
MySQL
15 lines
175 B
MySQL
|
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;
|