diff --git a/models/intermediate/cross/int_daily_currency_exchange_rates.sql b/models/intermediate/cross/int_daily_currency_exchange_rates.sql index 3ed7508..7b4c5e8 100644 --- a/models/intermediate/cross/int_daily_currency_exchange_rates.sql +++ b/models/intermediate/cross/int_daily_currency_exchange_rates.sql @@ -54,7 +54,7 @@ with from future_dates future_dates cross join last_xe_rate_per_curr_pair last_rate ), - -- CTEs for projecting forward + -- CTEs for projecting backward oldest_xe_date_per_curr_pair as ( select from_currency, to_currency, max(rate_date_utc) as oldest_date_utc from stg_xedotcom__exchange_rates