union all instead of union

This commit is contained in:
Pablo Martin 2024-06-14 15:57:36 +02:00
parent e9ed1cfe02
commit 2b878e9478

View file

@ -115,7 +115,7 @@ select
'actual' as rate_version,
xe.dwh_extracted_at_utc as updated_at_utc
from stg_xedotcom__exchange_rates xe
union
union all
select
fu.id_exchange_rate,
fu.from_currency,
@ -126,7 +126,7 @@ select
fu.rate_version,
fu.updated_at_utc
from projected_future_rates fu
union
union all
select
pa.id_exchange_rate,
pa.from_currency,