simple model

This commit is contained in:
Pablo Martin 2024-06-14 16:44:40 +02:00
parent fe304442a1
commit 84cd5ed7d0

View file

@ -0,0 +1,7 @@
with
int_daily_currency_exchange_rates as (
select * from {{ ref("int_daily_currency_exchange_rates") }}
)
select er.from_currency, er.to_currency, er.rate, er.rate_date_utc, er.updated_at_utc
from int_daily_currency_exchange_rates er
where er.source = 'xedotcom' or er.source = 'xe_inferred'