Nikita Fomichev 2024-04-03 16:49:35 +02:00
parent bc9d380e5a
commit a510741744
2 changed files with 13 additions and 0 deletions

View File

@ -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