результат в какой строчке при с объединением UNION ALL?
к примеру при запросе:
SELECT sum(eventrevenueusd) FROM AnalyticTable where partner = 'partner1' and eventdate ='2020-01-22'
UNION ALL
SELECT sum(eventrevenueusd) FROM AnalyticTable where partner = 'partner1' and eventdate ='2020-01-23'
SELECT 'first' as src, sum(eventrevenueusd) FROM AnalyticTable where partner = 'partner1' and eventdate ='2020-01-22' UNION ALL SELECT 'second' as src, sum(eventrevenueusd) FROM AnalyticTable where partner = 'partner1' and eventdate ='2020-01-23'
Обсуждают сегодня