mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
This commit is contained in:
parent
bc9d380e5a
commit
a510741744
@ -0,0 +1,2 @@
|
|||||||
|
1 2
|
||||||
|
2 2
|
@ -0,0 +1,11 @@
|
|||||||
|
-- https://github.com/ClickHouse/ClickHouse/issues/57321
|
||||||
|
SELECT
|
||||||
|
ver,
|
||||||
|
max(ver) OVER () AS ver_max
|
||||||
|
FROM
|
||||||
|
(
|
||||||
|
SELECT 1 AS ver
|
||||||
|
UNION ALL
|
||||||
|
SELECT 2 AS ver
|
||||||
|
)
|
||||||
|
GROUP BY ver
|
Loading…
Reference in New Issue
Block a user