ClickHouse/tests/queries/0_stateless/02227_union_match_by_name.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
292 B
MySQL
Raw Normal View History

2024-07-12 12:49:26 +00:00
SET enable_analyzer = 1;
2023-03-10 09:45:49 +00:00
-- { echoOn }
EXPLAIN header = 1, optimize = 0 SELECT avgWeighted(x, y) FROM (SELECT NULL, 255 AS x, 1 AS y UNION ALL SELECT y, NULL AS x, 1 AS y);
SELECT avgWeighted(x, y) FROM (SELECT NULL, 255 AS x, 1 AS y UNION ALL SELECT y, NULL AS x, 1 AS y);
2023-03-10 09:45:49 +00:00
-- { echoOff }