with int_deals_consolidation as (select * from {{ ref("int_deals_consolidation") }})
select
    id_deal as id_deal,
    core_company_name as core_company_name,
    core_company_name_count as core_company_name_count,
    hubspot_deal_name as hubspot_deal_name,
    hubspot_deal_name_count as hubspot_deal_name_count,
    xero_contact_name as xero_contact_name,
    xero_contact_name_count as xero_contact_name_count,
    is_deal_in_core as is_deal_in_core,
    is_deal_in_hubspot as is_deal_in_hubspot,
    is_deal_in_xero as is_deal_in_xero
from int_deals_consolidation
