with
    date_master as (select * from {{ ref("int_dates") }}),
    fee_txns as (select * from {{ ref("int_core__guest_fee_txns") }})
select date_master.date_day, coalesce(sum(fee_txns.amount), 0)
from date_master
left join fee_txns on date_master.date_day = fee_txns.paymenent_due_at_utc
where date_day between '2022-01-01' and '2024-12-31'
group by date_master.date_day
order by 2 desc
