addressed comments
This commit is contained in:
parent
42cea78b2c
commit
32251fa5e9
2 changed files with 14 additions and 10 deletions
|
|
@ -61,8 +61,8 @@ with
|
|||
min(
|
||||
coalesce(hd.deal_start_month, cd.deal_start_month)
|
||||
) as effective_deal_start_month,
|
||||
min(hd.deal_cancellation_date) as effective_deal_cancellation_date_utc,
|
||||
min(hd.deal_cancellation_month) as effective_deal_cancellation_month,
|
||||
min(hd.deal_cancellation_date) as hubspot_deal_cancellation_date_utc,
|
||||
min(hd.deal_cancellation_month) as hubspot_deal_cancellation_month,
|
||||
min(hd.hubspot_listing_segmentation) as hubspot_listing_segmentation
|
||||
from hubspot_deals hd
|
||||
full outer join core_deals cd on hd.id_deal = cd.id_deal
|
||||
|
|
@ -78,8 +78,8 @@ select
|
|||
cd.main_billing_country_iso_3_per_deal,
|
||||
cd.effective_deal_start_date_utc,
|
||||
cd.effective_deal_start_month,
|
||||
cd.effective_deal_cancellation_date_utc,
|
||||
cd.effective_deal_cancellation_month,
|
||||
cd.hubspot_deal_cancellation_date_utc,
|
||||
cd.hubspot_deal_cancellation_month,
|
||||
cd.hubspot_listing_segmentation
|
||||
from combined_deals cd
|
||||
left join integrations_per_deal ipd on cd.id_deal = ipd.id_deal
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue