simple model
This commit is contained in:
parent
fe304442a1
commit
84cd5ed7d0
1 changed files with 7 additions and 0 deletions
7
models/intermediate/cross/int_simple_exchange_rates.sql
Normal file
7
models/intermediate/cross/int_simple_exchange_rates.sql
Normal 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'
|
||||
Loading…
Add table
Add a link
Reference in a new issue