presto union vs union all
御覧頂いて。Presto 0.198
union allは全表示だけど、unionは重複データは消える
presto> SELECT 13 UNION ALL SELECT * FROM (VALUES 42, 13); _col0 ------- 42 13 13 (3 rows) presto> SELECT 13 UNION SELECT * FROM (VALUES 42, 13); _col0 ------- 13 42 (2 rows)