Update name of fields

This commit is contained in:
Joaquin Ossa 2025-01-09 16:31:22 +01:00
parent bd25b473fb
commit 0c311d02e8
7 changed files with 32 additions and 30 deletions

View file

@ -47,8 +47,10 @@ with
select
cd.id_deal,
cd.main_deal_name,
case when ipd.distinct_active_pms is null then false else true end as active_pms,
ipd.distinct_active_pms as pms,
case
when ipd.distinct_active_pms is null then false else true
end as has_active_pms,
ipd.distinct_active_pms as active_pms_list,
cd.main_billing_country_iso_3_per_deal,
cd.effective_deal_start_date_utc
from combined_deals cd