Created currency exchange tables
This commit is contained in:
parent
4958976733
commit
f64b17a223
3 changed files with 153 additions and 0 deletions
11
models/reporting/general/daily_currency_exchange_rates.sql
Normal file
11
models/reporting/general/daily_currency_exchange_rates.sql
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
with daily_currency as (select * from {{ ref("int_daily_currency_exchange_rates") }})
|
||||
select
|
||||
id_exchange_rate as id_exchange_rate,
|
||||
from_currency as from_currency,
|
||||
to_currency as to_currency,
|
||||
rate as rate,
|
||||
rate_date_utc as rate_date_utc,
|
||||
source as source,
|
||||
rate_version as rate_version,
|
||||
updated_at_utc as updated_at_utc
|
||||
from daily_currency
|
||||
Loading…
Add table
Add a link
Reference in a new issue