data-dwh-dbt-project/models/reporting/general/daily_currency_exchange_rates.sql
2024-06-19 11:52:28 +02:00

11 lines
370 B
SQL

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