Add a test

This commit is contained in:
Nikolai Kochetov 2023-12-01 13:28:51 +00:00
parent a30f63802e
commit 6d9e7f98a1
2 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,2 @@
0 0

View File

@ -0,0 +1,2 @@
CREATE TABLE tab (item_id UInt64, price_sold Nullable(Float32), date Date) ENGINE = MergeTree ORDER BY item_id;
SELECT * FROM (SELECT item_id FROM tab GROUP BY item_id WITH TOTALS ORDER BY '922337203.6854775806' IN (SELECT NULL)) AS l RIGHT JOIN (SELECT item_id FROM tab) AS r ON l.item_id = r.item_id WHERE NULL;