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