%3
(target) stg_OPPORTUNITY
(target) stg_OPPORTUNITY
AMOUNT
CLOSE_DATE
CREATED_DATE
HAS_OPPORTUNITY_LINE_ITEM
IS_CLOSED
IS_DELETED
IS_WON
LAST_MODIFIED_DATE
NAME
PROBABILITY
STAGE_NAME
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_DEAL
(source) stg_DEAL
PROPERTY_AMOUNT
PROPERTY_HS_CLOSED_DEAL_CLOSE_DATE
PROPERTY_HS_CREATEDATE
PROPERTY_HS_NUM_OF_ASSOCIATED_LINE_ITEMS
PROPERTY_HS_IS_CLOSED
IS_DELETED
PROPERTY_HS_IS_CLOSED_WON
PROPERTY_HS_LASTMODIFIEDDATE
PROPERTY_DEALNAME
PROPERTY_HS_DEAL_STAGE_PROBABILITY
_FIVETRAN_DELETED
(source) stg_DEAL:f0->(target) stg_OPPORTUNITY:f0
(source) stg_DEAL:f1->(target) stg_OPPORTUNITY:f1
(source) stg_DEAL:f2->(target) stg_OPPORTUNITY:f2
(source) stg_DEAL:f3->(target) stg_OPPORTUNITY:f3
(source) stg_DEAL:f4->(target) stg_OPPORTUNITY:f4
(source) stg_DEAL:f5->(target) stg_OPPORTUNITY:f5
(source) stg_DEAL:f6->(target) stg_OPPORTUNITY:f6
(source) stg_DEAL:f7->(target) stg_OPPORTUNITY:f7
(source) stg_DEAL:f8->(target) stg_OPPORTUNITY:f8
(source) stg_DEAL:f9->(target) stg_OPPORTUNITY:f9
(source) stg_DEAL:f10->(target) stg_OPPORTUNITY:f11
(source) stg_DEAL_PIPELINE_STAGE
(source) stg_DEAL_PIPELINE_STAGE
LABEL
_FIVETRAN_SYNCED
CREATED_AT
PROBABILITY
CLOSED_WON
UPDATED_AT
DISPLAY_ORDER
_FIVETRAN_DELETED
(source) stg_DEAL_PIPELINE_STAGE:f0->(target) stg_OPPORTUNITY:f10
(source) stg_DEAL_PIPELINE_STAGE:f1->(target) stg_OPPORTUNITY:f12
(target) stg_OPPORTUNITY_STAGE
(target) stg_OPPORTUNITY_STAGE
CREATED_DATE
DEFAULT_PROBABILITY
IS_CLOSED
IS_WON
LAST_MODIFIED_DATE
MASTER_LABEL
SORT_ORDER
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_DEAL_PIPELINE_STAGE:f2->(target) stg_OPPORTUNITY_STAGE:f0
(source) stg_DEAL_PIPELINE_STAGE:f3->(target) stg_OPPORTUNITY_STAGE:f1
(source) stg_DEAL_PIPELINE_STAGE:f4->(target) stg_OPPORTUNITY_STAGE:f2
(source) stg_DEAL_PIPELINE_STAGE:f4->(target) stg_OPPORTUNITY_STAGE:f3
(source) stg_DEAL_PIPELINE_STAGE:f5->(target) stg_OPPORTUNITY_STAGE:f4
(source) stg_DEAL_PIPELINE_STAGE:f0->(target) stg_OPPORTUNITY_STAGE:f5
(source) stg_DEAL_PIPELINE_STAGE:f6->(target) stg_OPPORTUNITY_STAGE:f6
(source) stg_DEAL_PIPELINE_STAGE:f7->(target) stg_OPPORTUNITY_STAGE:f7
(source) stg_DEAL_PIPELINE_STAGE:f1->(target) stg_OPPORTUNITY_STAGE:f8
(target) stg_ACCOUNT
(target) stg_ACCOUNT
ACCOUNT_SOURCE
ANNUAL_REVENUE
BILLING_CITY
BILLING_COUNTRY
BILLING_POSTAL_CODE
BILLING_STATE
CREATED_DATE
DESCRIPTION
INDUSTRY
IS_DELETED
LAST_MODIFIED_DATE
NAME
NUMBER_OF_EMPLOYEES
PHONE
SHIPPING_CITY
SHIPPING_COUNTRY
SHIPPING_POSTAL_CODE
SHIPPING_STATE
TYPE
WEBSITE
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_COMPANY
(source) stg_COMPANY
PROPERTY_HS_OBJECT_SOURCE
PROPERTY_ANNUALREVENUE
PROPERTY_CITY
PROPERTY_COUNTRY
PROPERTY_ZIP
PROPERTY_STATE
PROPERTY_CREATEDATE
PROPERTY_DESCRIPTION
PROPERTY_INDUSTRY
IS_DELETED
PROPERTY_HS_LASTMODIFIEDDATE
PROPERTY_NAME
PROPERTY_NUMBEROFEMPLOYEES
PROPERTY_PHONE
PROPERTY_WEBSITE
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
ID
PROPERTY_ADDRESS
PROPERTY_ADDRESS_2
PROPERTY_HS_OBJECT_ID
PROPERTY_HS_OBJECT_SOURCE_ID
PORTAL_ID
PROPERTY_SL_EMAIL_ADDRESS_FIRST
(source) stg_COMPANY:f0->(target) stg_ACCOUNT:f0
(source) stg_COMPANY:f1->(target) stg_ACCOUNT:f1
(source) stg_COMPANY:f2->(target) stg_ACCOUNT:f2
(source) stg_COMPANY:f3->(target) stg_ACCOUNT:f3
(source) stg_COMPANY:f4->(target) stg_ACCOUNT:f4
(source) stg_COMPANY:f5->(target) stg_ACCOUNT:f5
(source) stg_COMPANY:f6->(target) stg_ACCOUNT:f6
(source) stg_COMPANY:f7->(target) stg_ACCOUNT:f7
(source) stg_COMPANY:f8->(target) stg_ACCOUNT:f8
(source) stg_COMPANY:f9->(target) stg_ACCOUNT:f9
(source) stg_COMPANY:f10->(target) stg_ACCOUNT:f10
(source) stg_COMPANY:f11->(target) stg_ACCOUNT:f11
(source) stg_COMPANY:f12->(target) stg_ACCOUNT:f12
(source) stg_COMPANY:f13->(target) stg_ACCOUNT:f13
(source) stg_COMPANY:f2->(target) stg_ACCOUNT:f14
(source) stg_COMPANY:f3->(target) stg_ACCOUNT:f15
(source) stg_COMPANY:f4->(target) stg_ACCOUNT:f16
(source) stg_COMPANY:f5->(target) stg_ACCOUNT:f17
(source) stg_COMPANY:f8->(target) stg_ACCOUNT:f18
(source) stg_COMPANY:f14->(target) stg_ACCOUNT:f19
(source) stg_COMPANY:f15->(target) stg_ACCOUNT:f20
(source) stg_COMPANY:f16->(target) stg_ACCOUNT:f21
(target) stg_ACCOUNT_CONTACT_ROLE
(target) stg_ACCOUNT_CONTACT_ROLE
CREATED_DATE
ID
IS_DELETED
LAST_MODIFIED_DATE
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_COMPANY:f6->(target) stg_ACCOUNT_CONTACT_ROLE:f0
(source) stg_COMPANY:f17->(target) stg_ACCOUNT_CONTACT_ROLE:f1
(source) stg_COMPANY:f9->(target) stg_ACCOUNT_CONTACT_ROLE:f2
(source) stg_COMPANY:f10->(target) stg_ACCOUNT_CONTACT_ROLE:f3
(source) stg_COMPANY:f15->(target) stg_ACCOUNT_CONTACT_ROLE:f4
(source) stg_COMPANY:f16->(target) stg_ACCOUNT_CONTACT_ROLE:f5
(target) stg_CONTACT
(target) stg_CONTACT
CONTACT_SOURCE
CREATED_DATE
DESCRIPTION
EMAIL
FIRST_NAME
IS_DELETED
LAST_MODIFIED_DATE
LAST_NAME
LEAD_SOURCE
MAILING_CITY
MAILING_COUNTRY
MAILING_POSTAL_CODE
MAILING_STATE
MAILING_STREET
MOBILE_PHONE
NAME
OTHER_CITY
OTHER_COUNTRY
OTHER_POSTAL_CODE
OTHER_STATE
OTHER_STREET
PHONE
SYSTEM_MODSTAMP
TITLE
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_COMPANY:f7->(target) stg_CONTACT:f2
(source) stg_COMPANY:f2->(target) stg_CONTACT:f9
(source) stg_COMPANY:f3->(target) stg_CONTACT:f10
(source) stg_COMPANY:f4->(target) stg_CONTACT:f11
(source) stg_COMPANY:f5->(target) stg_CONTACT:f12
(source) stg_COMPANY:f18->(target) stg_CONTACT:f13
(source) stg_COMPANY:f2->(target) stg_CONTACT:f16
(source) stg_COMPANY:f3->(target) stg_CONTACT:f17
(source) stg_COMPANY:f4->(target) stg_CONTACT:f18
(source) stg_COMPANY:f5->(target) stg_CONTACT:f19
(source) stg_COMPANY:f19->(target) stg_CONTACT:f20
(target) stg_CONTACT_POINT_ADDRESS
(target) stg_CONTACT_POINT_ADDRESS
CITY
COUNTRY
CREATED_DATE
IS_DELETED
LAST_MODIFIED_DATE
NAME
PARENT_ID
POSTAL_CODE
STATE
STREET
_FIVETRAN_SYNCED
(source) stg_COMPANY:f2->(target) stg_CONTACT_POINT_ADDRESS:f0
(source) stg_COMPANY:f3->(target) stg_CONTACT_POINT_ADDRESS:f1
(source) stg_COMPANY:f6->(target) stg_CONTACT_POINT_ADDRESS:f2
(source) stg_COMPANY:f9->(target) stg_CONTACT_POINT_ADDRESS:f3
(source) stg_COMPANY:f10->(target) stg_CONTACT_POINT_ADDRESS:f4
(source) stg_COMPANY:f11->(target) stg_CONTACT_POINT_ADDRESS:f5
(source) stg_COMPANY:f17->(target) stg_CONTACT_POINT_ADDRESS:f6
(source) stg_COMPANY:f4->(target) stg_CONTACT_POINT_ADDRESS:f7
(source) stg_COMPANY:f5->(target) stg_CONTACT_POINT_ADDRESS:f8
(source) stg_COMPANY:f18->(target) stg_CONTACT_POINT_ADDRESS:f9
(source) stg_COMPANY:f16->(target) stg_CONTACT_POINT_ADDRESS:f10
(target) stg_CUSTOMER
(target) stg_CUSTOMER
CREATED_DATE
ID
IS_DELETED
LAST_MODIFIED_DATE
NAME
PARTY_ID
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_COMPANY:f6->(target) stg_CUSTOMER:f0
(source) stg_COMPANY:f17->(target) stg_CUSTOMER:f1
(source) stg_COMPANY:f9->(target) stg_CUSTOMER:f2
(source) stg_COMPANY:f10->(target) stg_CUSTOMER:f3
(source) stg_COMPANY:f11->(target) stg_CUSTOMER:f4
(source) stg_COMPANY:f20->(target) stg_CUSTOMER:f5
(source) stg_COMPANY:f15->(target) stg_CUSTOMER:f6
(source) stg_COMPANY:f16->(target) stg_CUSTOMER:f7
(target) stg_SELLER
(target) stg_SELLER
CREATED_DATE
ID
IS_DELETED
LAST_MODIFIED_DATE
NAME
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_COMPANY:f6->(target) stg_SELLER:f0
(source) stg_COMPANY:f17->(target) stg_SELLER:f1
(source) stg_COMPANY:f9->(target) stg_SELLER:f2
(source) stg_COMPANY:f10->(target) stg_SELLER:f3
(source) stg_COMPANY:f11->(target) stg_SELLER:f4
(source) stg_COMPANY:f15->(target) stg_SELLER:f5
(source) stg_COMPANY:f16->(target) stg_SELLER:f6
(target) stg_SSOT_ACCOUNT_CONTACT_DLM
(target) stg_SSOT_ACCOUNT_CONTACT_DLM
ID
KQ_ID_C
SSOT_CREATED_DATE_C
SSOT_DATA_SOURCE_ID_C
SSOT_DATA_SOURCE_OBJECT_ID_C
SSOT_ID_C
SSOT_LAST_MODIFIED_DATE_C
SSOT_TITLE_C
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_COMPANY:f17->(target) stg_SSOT_ACCOUNT_CONTACT_DLM:f0
(target) stg_SSOT_ACCOUNT_DLM
(target) stg_SSOT_ACCOUNT_DLM
SSOT_ACCOUNT_SOURCE_C
SSOT_ANNUAL_REVENUE_AMOUNT_C
SSOT_CREATED_DATE_C
SSOT_DATA_SOURCE_ID_C
SSOT_DATA_SOURCE_OBJECT_ID_C
SSOT_DESCRIPTION_C
SSOT_EMPLOYEE_COUNT_C
SSOT_LAST_MODIFIED_DATE_C
SSOT_NAME_C
SSOT_PRIMARY_INDUSTRY_C
SSOT_WEBSITE_ADDR_C
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_COMPANY:f0->(target) stg_SSOT_ACCOUNT_DLM:f0
(source) stg_COMPANY:f1->(target) stg_SSOT_ACCOUNT_DLM:f1
(source) stg_COMPANY:f6->(target) stg_SSOT_ACCOUNT_DLM:f2
(source) stg_COMPANY:f21->(target) stg_SSOT_ACCOUNT_DLM:f3
(source) stg_COMPANY:f20->(target) stg_SSOT_ACCOUNT_DLM:f4
(source) stg_COMPANY:f7->(target) stg_SSOT_ACCOUNT_DLM:f5
(source) stg_COMPANY:f12->(target) stg_SSOT_ACCOUNT_DLM:f6
(source) stg_COMPANY:f10->(target) stg_SSOT_ACCOUNT_DLM:f7
(source) stg_COMPANY:f11->(target) stg_SSOT_ACCOUNT_DLM:f8
(source) stg_COMPANY:f8->(target) stg_SSOT_ACCOUNT_DLM:f9
(source) stg_COMPANY:f14->(target) stg_SSOT_ACCOUNT_DLM:f10
(source) stg_COMPANY:f15->(target) stg_SSOT_ACCOUNT_DLM:f11
(source) stg_COMPANY:f16->(target) stg_SSOT_ACCOUNT_DLM:f12
(target) stg_SSOT_CONTACT_POINT_EMAIL_DLM
(target) stg_SSOT_CONTACT_POINT_EMAIL_DLM
KQ_PARTY_ID_C
SSOT_DATA_SOURCE_ID_C
SSOT_DATA_SOURCE_OBJECT_ID_C
SSOT_EMAIL_ADDRESS_C
SSOT_ID_C
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_COMPANY:f17->(target) stg_SSOT_CONTACT_POINT_EMAIL_DLM:f0
(source) stg_COMPANY:f22->(target) stg_SSOT_CONTACT_POINT_EMAIL_DLM:f1
(source) stg_COMPANY:f17->(target) stg_SSOT_CONTACT_POINT_EMAIL_DLM:f2
(source) stg_COMPANY:f23->(target) stg_SSOT_CONTACT_POINT_EMAIL_DLM:f3
(source) stg_COMPANY:f20->(target) stg_SSOT_CONTACT_POINT_EMAIL_DLM:f4
(source) stg_COMPANY:f15->(target) stg_SSOT_CONTACT_POINT_EMAIL_DLM:f5
(source) stg_COMPANY:f16->(target) stg_SSOT_CONTACT_POINT_EMAIL_DLM:f6
(target) stg_CASE_STATUS
(target) stg_CASE_STATUS
CREATED_DATE
IS_CLOSED
LAST_MODIFIED_DATE
MASTER_LABEL
SORT_ORDER
_FIVETRAN_DELETED
(source) stg_TICKET_PIPELINE_STAGE
(source) stg_TICKET_PIPELINE_STAGE
CREATED_AT
IS_CLOSED
UPDATED_AT
LABEL
DISPLAY_ORDER
_FIVETRAN_DELETED
(source) stg_TICKET_PIPELINE_STAGE:f0->(target) stg_CASE_STATUS:f0
(source) stg_TICKET_PIPELINE_STAGE:f1->(target) stg_CASE_STATUS:f1
(source) stg_TICKET_PIPELINE_STAGE:f2->(target) stg_CASE_STATUS:f2
(source) stg_TICKET_PIPELINE_STAGE:f3->(target) stg_CASE_STATUS:f3
(source) stg_TICKET_PIPELINE_STAGE:f4->(target) stg_CASE_STATUS:f4
(source) stg_TICKET_PIPELINE_STAGE:f5->(target) stg_CASE_STATUS:f5
(source) stg_CONTACT
(source) stg_CONTACT
PROPERTY_HS_OBJECT_SOURCE
PROPERTY_CREATEDATE
PROPERTY_EMAIL
PROPERTY_FIRSTNAME
IS_DELETED
PROPERTY_LASTMODIFIEDDATE
PROPERTY_LASTNAME
PROPERTY_HS_LATEST_SOURCE
PROPERTY_MOBILEPHONE
PROPERTY_HS_CALCULATED_MOBILE_NUMBER
_FIVETRAN_SYNCED
PROPERTY_JOBTITLE
_FIVETRAN_DELETED
PROPERTY_HS_EMAIL_DOMAIN
PROPERTY_HS_OBJECT_ID
PROPERTY_HS_OBJECT_SOURCE_ID
(source) stg_CONTACT:f0->(target) stg_CONTACT:f0
(source) stg_CONTACT:f1->(target) stg_CONTACT:f1
(source) stg_CONTACT:f2->(target) stg_CONTACT:f3
(source) stg_CONTACT:f3->(target) stg_CONTACT:f4
(source) stg_CONTACT:f4->(target) stg_CONTACT:f5
(source) stg_CONTACT:f5->(target) stg_CONTACT:f6
(source) stg_CONTACT:f6->(target) stg_CONTACT:f7
(source) stg_CONTACT:f7->(target) stg_CONTACT:f8
(source) stg_CONTACT:f8->(target) stg_CONTACT:f14
(source) stg_CONTACT:f3->(target) stg_CONTACT:f15
(source) stg_CONTACT:f6->(target) stg_CONTACT:f15
(source) stg_CONTACT:f9->(target) stg_CONTACT:f21
(source) stg_CONTACT:f10->(target) stg_CONTACT:f22
(source) stg_CONTACT:f11->(target) stg_CONTACT:f23
(source) stg_CONTACT:f12->(target) stg_CONTACT:f24
(source) stg_CONTACT:f10->(target) stg_CONTACT:f25
(target) stg_CONTACT_POINT_EMAIL
(target) stg_CONTACT_POINT_EMAIL
CREATED_DATE
EMAIL_ADDRESS
EMAIL_DOMAIN
IS_DELETED
LAST_MODIFIED_DATE
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_CONTACT:f1->(target) stg_CONTACT_POINT_EMAIL:f0
(source) stg_CONTACT:f2->(target) stg_CONTACT_POINT_EMAIL:f1
(source) stg_CONTACT:f13->(target) stg_CONTACT_POINT_EMAIL:f2
(source) stg_CONTACT:f4->(target) stg_CONTACT_POINT_EMAIL:f3
(source) stg_CONTACT:f5->(target) stg_CONTACT_POINT_EMAIL:f4
(source) stg_CONTACT:f12->(target) stg_CONTACT_POINT_EMAIL:f5
(source) stg_CONTACT:f10->(target) stg_CONTACT_POINT_EMAIL:f6
(target) stg_CONTACT_REQUEST
(target) stg_CONTACT_REQUEST
CREATED_DATE
IS_DELETED
LAST_MODIFIED_DATE
NAME
STATUS
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_CONTACT:f1->(target) stg_CONTACT_REQUEST:f0
(source) stg_CONTACT:f4->(target) stg_CONTACT_REQUEST:f1
(source) stg_CONTACT:f5->(target) stg_CONTACT_REQUEST:f2
(source) stg_CONTACT:f12->(target) stg_CONTACT_REQUEST:f5
(source) stg_CONTACT:f10->(target) stg_CONTACT_REQUEST:f6
(target) stg_INDIVIDUAL
(target) stg_INDIVIDUAL
CREATED_DATE
FIRST_NAME
IS_DELETED
LAST_MODIFIED_DATE
LAST_NAME
NAME
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_CONTACT:f1->(target) stg_INDIVIDUAL:f0
(source) stg_CONTACT:f3->(target) stg_INDIVIDUAL:f1
(source) stg_CONTACT:f4->(target) stg_INDIVIDUAL:f2
(source) stg_CONTACT:f5->(target) stg_INDIVIDUAL:f3
(source) stg_CONTACT:f6->(target) stg_INDIVIDUAL:f4
(source) stg_CONTACT:f3->(target) stg_INDIVIDUAL:f5
(source) stg_CONTACT:f6->(target) stg_INDIVIDUAL:f5
(source) stg_CONTACT:f12->(target) stg_INDIVIDUAL:f6
(source) stg_CONTACT:f10->(target) stg_INDIVIDUAL:f7
(target) stg_MATCHING_INFORMATION
(target) stg_MATCHING_INFORMATION
CREATED_DATE
EMAIL_ADDRESS
IS_DELETED
LAST_MODIFIED_DATE
NAME
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_CONTACT:f1->(target) stg_MATCHING_INFORMATION:f0
(source) stg_CONTACT:f2->(target) stg_MATCHING_INFORMATION:f1
(source) stg_CONTACT:f4->(target) stg_MATCHING_INFORMATION:f2
(source) stg_CONTACT:f5->(target) stg_MATCHING_INFORMATION:f3
(source) stg_CONTACT:f3->(target) stg_MATCHING_INFORMATION:f4
(source) stg_CONTACT:f6->(target) stg_MATCHING_INFORMATION:f4
(source) stg_CONTACT:f12->(target) stg_MATCHING_INFORMATION:f5
(source) stg_CONTACT:f10->(target) stg_MATCHING_INFORMATION:f6
(source) stg_CONTACT:f14->(target) stg_SSOT_ACCOUNT_CONTACT_DLM:f1
(source) stg_CONTACT:f1->(target) stg_SSOT_ACCOUNT_CONTACT_DLM:f2
(source) stg_CONTACT:f0->(target) stg_SSOT_ACCOUNT_CONTACT_DLM:f3
(source) stg_CONTACT:f14->(target) stg_SSOT_ACCOUNT_CONTACT_DLM:f4
(source) stg_CONTACT:f14->(target) stg_SSOT_ACCOUNT_CONTACT_DLM:f5
(source) stg_CONTACT:f5->(target) stg_SSOT_ACCOUNT_CONTACT_DLM:f6
(source) stg_CONTACT:f11->(target) stg_SSOT_ACCOUNT_CONTACT_DLM:f7
(source) stg_CONTACT:f12->(target) stg_SSOT_ACCOUNT_CONTACT_DLM:f8
(source) stg_CONTACT:f10->(target) stg_SSOT_ACCOUNT_CONTACT_DLM:f9
(target) stg_SSOT_INDIVIDUAL_DLM
(target) stg_SSOT_INDIVIDUAL_DLM
SSOT_CREATED_DATE_C
SSOT_DATA_SOURCE_ID_C
SSOT_DATA_SOURCE_OBJECT_ID_C
SSOT_FIRST_NAME_C
SSOT_ID_C
SSOT_LAST_MODIFIED_DATE_C
SSOT_LAST_NAME_C
SSOT_PERSON_NAME_C
SSOT_TITLE_NAME_C
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_CONTACT:f1->(target) stg_SSOT_INDIVIDUAL_DLM:f0
(source) stg_CONTACT:f15->(target) stg_SSOT_INDIVIDUAL_DLM:f1
(source) stg_CONTACT:f14->(target) stg_SSOT_INDIVIDUAL_DLM:f2
(source) stg_CONTACT:f3->(target) stg_SSOT_INDIVIDUAL_DLM:f3
(source) stg_CONTACT:f14->(target) stg_SSOT_INDIVIDUAL_DLM:f4
(source) stg_CONTACT:f5->(target) stg_SSOT_INDIVIDUAL_DLM:f5
(source) stg_CONTACT:f6->(target) stg_SSOT_INDIVIDUAL_DLM:f6
(source) stg_CONTACT:f3->(target) stg_SSOT_INDIVIDUAL_DLM:f7
(source) stg_CONTACT:f6->(target) stg_SSOT_INDIVIDUAL_DLM:f7
(source) stg_CONTACT:f11->(target) stg_SSOT_INDIVIDUAL_DLM:f8
(source) stg_CONTACT:f12->(target) stg_SSOT_INDIVIDUAL_DLM:f9
(source) stg_CONTACT:f10->(target) stg_SSOT_INDIVIDUAL_DLM:f10
(target) stg_UNIFIED_INDIVIDUAL_DLM
(target) stg_UNIFIED_INDIVIDUAL_DLM
SSOT_CREATED_DATE_C
SSOT_FIRST_NAME_C
SSOT_LAST_MODIFIED_DATE_C
SSOT_LAST_NAME_C
SSOT_PERSON_NAME_C
SSOT_TITLE_NAME_C
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_CONTACT:f1->(target) stg_UNIFIED_INDIVIDUAL_DLM:f0
(source) stg_CONTACT:f3->(target) stg_UNIFIED_INDIVIDUAL_DLM:f1
(source) stg_CONTACT:f5->(target) stg_UNIFIED_INDIVIDUAL_DLM:f2
(source) stg_CONTACT:f6->(target) stg_UNIFIED_INDIVIDUAL_DLM:f3
(source) stg_CONTACT:f3->(target) stg_UNIFIED_INDIVIDUAL_DLM:f4
(source) stg_CONTACT:f6->(target) stg_UNIFIED_INDIVIDUAL_DLM:f4
(source) stg_CONTACT:f11->(target) stg_UNIFIED_INDIVIDUAL_DLM:f5
(source) stg_CONTACT:f12->(target) stg_UNIFIED_INDIVIDUAL_DLM:f6
(source) stg_CONTACT:f10->(target) stg_UNIFIED_INDIVIDUAL_DLM:f7
(source) stg_OWNER
(source) stg_OWNER
FIRST_NAME
LAST_NAME
CREATED_AT
EMAIL
IS_ACTIVE
UPDATED_AT
_FIVETRAN_SYNCED
_FIVETRAN_DELETED
(source) stg_OWNER:f0->(target) stg_CONTACT_REQUEST:f3
(source) stg_OWNER:f1->(target) stg_CONTACT_REQUEST:f3
(target) stg_USER
(target) stg_USER
CREATED_DATE
EMAIL
FIRST_NAME
IS_ACTIVE
LAST_MODIFIED_DATE
LAST_NAME
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_OWNER:f2->(target) stg_USER:f0
(source) stg_OWNER:f3->(target) stg_USER:f1
(source) stg_OWNER:f0->(target) stg_USER:f2
(source) stg_OWNER:f4->(target) stg_USER:f3
(source) stg_OWNER:f5->(target) stg_USER:f4
(source) stg_OWNER:f1->(target) stg_USER:f5
(source) stg_OWNER:f6->(target) stg_USER:f7
(target) stg_USER_EMAIL_PREFERRED_PERSON
(target) stg_USER_EMAIL_PREFERRED_PERSON
CREATED_DATE
EMAIL
LAST_MODIFIED_DATE
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_OWNER:f2->(target) stg_USER_EMAIL_PREFERRED_PERSON:f0
(source) stg_OWNER:f3->(target) stg_USER_EMAIL_PREFERRED_PERSON:f1
(source) stg_OWNER:f5->(target) stg_USER_EMAIL_PREFERRED_PERSON:f2
(source) stg_OWNER:f6->(target) stg_USER_EMAIL_PREFERRED_PERSON:f4
(target) stg_USER_PROV_MOCK_TARGET
(target) stg_USER_PROV_MOCK_TARGET
CREATED_DATE
EXTERNAL_EMAIL
EXTERNAL_FIRST_NAME
EXTERNAL_LAST_NAME
IS_DELETED
LAST_MODIFIED_DATE
NAME
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_OWNER:f2->(target) stg_USER_PROV_MOCK_TARGET:f0
(source) stg_OWNER:f3->(target) stg_USER_PROV_MOCK_TARGET:f1
(source) stg_OWNER:f0->(target) stg_USER_PROV_MOCK_TARGET:f2
(source) stg_OWNER:f1->(target) stg_USER_PROV_MOCK_TARGET:f3
(source) stg_OWNER:f4->(target) stg_USER_PROV_MOCK_TARGET:f4
(source) stg_OWNER:f5->(target) stg_USER_PROV_MOCK_TARGET:f5
(source) stg_OWNER:f0->(target) stg_USER_PROV_MOCK_TARGET:f6
(source) stg_OWNER:f1->(target) stg_USER_PROV_MOCK_TARGET:f6
(source) stg_OWNER:f7->(target) stg_USER_PROV_MOCK_TARGET:f7
(source) stg_OWNER:f6->(target) stg_USER_PROV_MOCK_TARGET:f8
(source) stg_ENGAGEMENT_TASK
(source) stg_ENGAGEMENT_TASK
PROPERTY_HS_TASK_STATUS
PROPERTY_HS_CREATEDATE
_FIVETRAN_DELETED
PROPERTY_HS_LASTMODIFIEDDATE
PROPERTY_HS_OBJECT_ID
PROPERTY_HS_TASK_IS_COMPLETED
PROPERTY_HS_TASK_PRIORITY
PROPERTY_HS_TASK_SEND_DEFAULT_REMINDER
PROPERTY_HS_TASK_SUBJECT
PROPERTY_HS_TASK_TYPE
_FIVETRAN_SYNCED
CREATED_TIME
ID
LAST_UPDATED
(source) stg_ENGAGEMENT_TASK:f0->(target) stg_CONTACT_REQUEST:f4
(target) stg_PROCESS_INSTANCE
(target) stg_PROCESS_INSTANCE
CREATED_DATE
IS_DELETED
LAST_MODIFIED_DATE
TARGET_OBJECT_ID
(source) stg_ENGAGEMENT_TASK:f1->(target) stg_PROCESS_INSTANCE:f0
(source) stg_ENGAGEMENT_TASK:f2->(target) stg_PROCESS_INSTANCE:f1
(source) stg_ENGAGEMENT_TASK:f3->(target) stg_PROCESS_INSTANCE:f2
(source) stg_ENGAGEMENT_TASK:f4->(target) stg_PROCESS_INSTANCE:f3
(target) stg_TASK
(target) stg_TASK
CREATED_DATE
IS_CLOSED
IS_DELETED
IS_HIGH_PRIORITY
IS_REMINDER_SET
LAST_MODIFIED_DATE
PRIORITY
STATUS
SUBJECT
TASK_SUBTYPE
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_ENGAGEMENT_TASK:f1->(target) stg_TASK:f0
(source) stg_ENGAGEMENT_TASK:f5->(target) stg_TASK:f1
(source) stg_ENGAGEMENT_TASK:f2->(target) stg_TASK:f2
(source) stg_ENGAGEMENT_TASK:f6->(target) stg_TASK:f3
(source) stg_ENGAGEMENT_TASK:f7->(target) stg_TASK:f4
(source) stg_ENGAGEMENT_TASK:f3->(target) stg_TASK:f5
(source) stg_ENGAGEMENT_TASK:f6->(target) stg_TASK:f6
(source) stg_ENGAGEMENT_TASK:f0->(target) stg_TASK:f7
(source) stg_ENGAGEMENT_TASK:f8->(target) stg_TASK:f8
(source) stg_ENGAGEMENT_TASK:f9->(target) stg_TASK:f9
(source) stg_ENGAGEMENT_TASK:f2->(target) stg_TASK:f10
(source) stg_ENGAGEMENT_TASK:f10->(target) stg_TASK:f11
(target) stg_TASK_WHO_RELATION
(target) stg_TASK_WHO_RELATION
CREATED_DATE
ID
IS_DELETED
LAST_MODIFIED_DATE
TYPE
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_ENGAGEMENT_TASK:f11->(target) stg_TASK_WHO_RELATION:f0
(source) stg_ENGAGEMENT_TASK:f12->(target) stg_TASK_WHO_RELATION:f1
(source) stg_ENGAGEMENT_TASK:f2->(target) stg_TASK_WHO_RELATION:f2
(source) stg_ENGAGEMENT_TASK:f13->(target) stg_TASK_WHO_RELATION:f3
(source) stg_ENGAGEMENT_TASK:f2->(target) stg_TASK_WHO_RELATION:f5
(source) stg_ENGAGEMENT_TASK:f10->(target) stg_TASK_WHO_RELATION:f6
(source) stg_ENGAGEMENT
(source) stg_ENGAGEMENT
TYPE
(source) stg_ENGAGEMENT:f0->(target) stg_TASK_WHO_RELATION:f4
(source) stg_USERS
(source) stg_USERS
_FIVETRAN_DELETED
(source) stg_USERS:f0->(target) stg_USER:f6
(source) stg_USERS:f0->(target) stg_USER_EMAIL_PREFERRED_PERSON:f3
%3
(target) stg_OPPORTUNITY
(target) stg_OPPORTUNITY
AMOUNT
CLOSE_DATE
CREATED_DATE
HAS_OPPORTUNITY_LINE_ITEM
IS_CLOSED
IS_DELETED
IS_WON
LAST_MODIFIED_DATE
NAME
PROBABILITY
STAGE_NAME
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_DEAL
(source) stg_DEAL
PROPERTY_AMOUNT
PROPERTY_HS_CLOSED_DEAL_CLOSE_DATE
PROPERTY_HS_CREATEDATE
PROPERTY_HS_NUM_OF_ASSOCIATED_LINE_ITEMS
PROPERTY_HS_IS_CLOSED
IS_DELETED
PROPERTY_HS_IS_CLOSED_WON
PROPERTY_HS_LASTMODIFIEDDATE
PROPERTY_DEALNAME
PROPERTY_HS_DEAL_STAGE_PROBABILITY
_FIVETRAN_DELETED
(source) stg_DEAL:f0->(target) stg_OPPORTUNITY:f0
(source) stg_DEAL:f1->(target) stg_OPPORTUNITY:f1
(source) stg_DEAL:f2->(target) stg_OPPORTUNITY:f2
(source) stg_DEAL:f3->(target) stg_OPPORTUNITY:f3
(source) stg_DEAL:f4->(target) stg_OPPORTUNITY:f4
(source) stg_DEAL:f5->(target) stg_OPPORTUNITY:f5
(source) stg_DEAL:f6->(target) stg_OPPORTUNITY:f6
(source) stg_DEAL:f7->(target) stg_OPPORTUNITY:f7
(source) stg_DEAL:f8->(target) stg_OPPORTUNITY:f8
(source) stg_DEAL:f9->(target) stg_OPPORTUNITY:f9
(source) stg_DEAL:f10->(target) stg_OPPORTUNITY:f11
(source) stg_DEAL_PIPELINE_STAGE
(source) stg_DEAL_PIPELINE_STAGE
LABEL
_FIVETRAN_SYNCED
(source) stg_DEAL_PIPELINE_STAGE:f0->(target) stg_OPPORTUNITY:f10
(source) stg_DEAL_PIPELINE_STAGE:f1->(target) stg_OPPORTUNITY:f12
SELECT
d . PROPERTY_AMOUNT AS AMOUNT ,
d . PROPERTY_HS_CLOSED_DEAL_CLOSE_DATE AS CLOSE_DATE ,
d . PROPERTY_HS_CREATEDATE AS CREATED_DATE ,
CASE WHEN d . PROPERTY_HS_NUM_OF_ASSOCIATED_LINE_ITEMS > 0 THEN TRUE ELSE FALSE END AS HAS_OPPORTUNITY_LINE_ITEM ,
d . PROPERTY_HS_IS_CLOSED AS IS_CLOSED ,
d . IS_DELETED ,
d . PROPERTY_HS_IS_CLOSED_WON AS IS_WON ,
d . PROPERTY_HS_LASTMODIFIEDDATE AS LAST_MODIFIED_DATE ,
d . PROPERTY_DEALNAME AS NAME ,
d . PROPERTY_HS_DEAL_STAGE_PROBABILITY AS PROBABILITY ,
s . LABEL AS STAGE_NAME ,
d . _FIVETRAN_DELETED ,
s . _FIVETRAN_SYNCED
FROM
stg_DEAL d
JOIN
stg_DEAL_PIPELINE_STAGE s ON d . DEAL_PIPELINE_STAGE_ID = s . STAGE_ID
WHERE
d . _FIVETRAN_DELETED = FALSE
AND s . _FIVETRAN_DELETED = FALSE
⚠️ SQL query is just for reference based on schema. To ensure correctness, data access is required.
%3
(target) stg_ACCOUNT
(target) stg_ACCOUNT
ACCOUNT_SOURCE
ANNUAL_REVENUE
BILLING_CITY
BILLING_COUNTRY
BILLING_POSTAL_CODE
BILLING_STATE
CREATED_DATE
DESCRIPTION
INDUSTRY
IS_DELETED
LAST_MODIFIED_DATE
NAME
NUMBER_OF_EMPLOYEES
PHONE
SHIPPING_CITY
SHIPPING_COUNTRY
SHIPPING_POSTAL_CODE
SHIPPING_STATE
TYPE
WEBSITE
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_COMPANY
(source) stg_COMPANY
PROPERTY_HS_OBJECT_SOURCE
PROPERTY_ANNUALREVENUE
PROPERTY_CITY
PROPERTY_COUNTRY
PROPERTY_ZIP
PROPERTY_STATE
PROPERTY_CREATEDATE
PROPERTY_DESCRIPTION
PROPERTY_INDUSTRY
IS_DELETED
PROPERTY_HS_LASTMODIFIEDDATE
PROPERTY_NAME
PROPERTY_NUMBEROFEMPLOYEES
PROPERTY_PHONE
PROPERTY_WEBSITE
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_COMPANY:f0->(target) stg_ACCOUNT:f0
(source) stg_COMPANY:f1->(target) stg_ACCOUNT:f1
(source) stg_COMPANY:f2->(target) stg_ACCOUNT:f2
(source) stg_COMPANY:f3->(target) stg_ACCOUNT:f3
(source) stg_COMPANY:f4->(target) stg_ACCOUNT:f4
(source) stg_COMPANY:f5->(target) stg_ACCOUNT:f5
(source) stg_COMPANY:f6->(target) stg_ACCOUNT:f6
(source) stg_COMPANY:f7->(target) stg_ACCOUNT:f7
(source) stg_COMPANY:f8->(target) stg_ACCOUNT:f8
(source) stg_COMPANY:f9->(target) stg_ACCOUNT:f9
(source) stg_COMPANY:f10->(target) stg_ACCOUNT:f10
(source) stg_COMPANY:f11->(target) stg_ACCOUNT:f11
(source) stg_COMPANY:f12->(target) stg_ACCOUNT:f12
(source) stg_COMPANY:f13->(target) stg_ACCOUNT:f13
(source) stg_COMPANY:f2->(target) stg_ACCOUNT:f14
(source) stg_COMPANY:f3->(target) stg_ACCOUNT:f15
(source) stg_COMPANY:f4->(target) stg_ACCOUNT:f16
(source) stg_COMPANY:f5->(target) stg_ACCOUNT:f17
(source) stg_COMPANY:f8->(target) stg_ACCOUNT:f18
(source) stg_COMPANY:f14->(target) stg_ACCOUNT:f19
(source) stg_COMPANY:f15->(target) stg_ACCOUNT:f20
(source) stg_COMPANY:f16->(target) stg_ACCOUNT:f21
SELECT
stg_COMPANY . PROPERTY_HS_OBJECT_SOURCE AS ACCOUNT_SOURCE ,
stg_COMPANY . PROPERTY_ANNUALREVENUE AS ANNUAL_REVENUE ,
stg_COMPANY . PROPERTY_CITY AS BILLING_CITY ,
stg_COMPANY . PROPERTY_COUNTRY AS BILLING_COUNTRY ,
stg_COMPANY . PROPERTY_ZIP AS BILLING_POSTAL_CODE ,
stg_COMPANY . PROPERTY_STATE AS BILLING_STATE ,
stg_COMPANY . PROPERTY_CREATEDATE AS CREATED_DATE ,
stg_COMPANY . PROPERTY_DESCRIPTION AS DESCRIPTION ,
stg_COMPANY . PROPERTY_INDUSTRY AS INDUSTRY ,
stg_COMPANY . IS_DELETED ,
stg_COMPANY . PROPERTY_HS_LASTMODIFIEDDATE AS LAST_MODIFIED_DATE ,
stg_COMPANY . PROPERTY_NAME AS NAME ,
stg_COMPANY . PROPERTY_NUMBEROFEMPLOYEES AS NUMBER_OF_EMPLOYEES ,
stg_COMPANY . PROPERTY_PHONE AS PHONE ,
stg_COMPANY . PROPERTY_CITY AS SHIPPING_CITY ,
stg_COMPANY . PROPERTY_COUNTRY AS SHIPPING_COUNTRY ,
stg_COMPANY . PROPERTY_ZIP AS SHIPPING_POSTAL_CODE ,
stg_COMPANY . PROPERTY_STATE AS SHIPPING_STATE ,
stg_COMPANY . PROPERTY_INDUSTRY AS TYPE ,
stg_COMPANY . PROPERTY_WEBSITE AS WEBSITE ,
stg_COMPANY . _FIVETRAN_DELETED ,
stg_COMPANY . _FIVETRAN_SYNCED
FROM
stg_COMPANY
LEFT JOIN
stg_OWNER ON stg_COMPANY . PROPERTY_HUBSPOT_OWNER_ID = stg_OWNER . OWNER_ID
⚠️ SQL query is just for reference based on schema. To ensure correctness, data access is required.
%3
(target) stg_ACCOUNT_CONTACT_ROLE
(target) stg_ACCOUNT_CONTACT_ROLE
CREATED_DATE
ID
IS_DELETED
LAST_MODIFIED_DATE
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_COMPANY
(source) stg_COMPANY
PROPERTY_CREATEDATE
ID
IS_DELETED
PROPERTY_HS_LASTMODIFIEDDATE
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_COMPANY:f0->(target) stg_ACCOUNT_CONTACT_ROLE:f0
(source) stg_COMPANY:f1->(target) stg_ACCOUNT_CONTACT_ROLE:f1
(source) stg_COMPANY:f2->(target) stg_ACCOUNT_CONTACT_ROLE:f2
(source) stg_COMPANY:f3->(target) stg_ACCOUNT_CONTACT_ROLE:f3
(source) stg_COMPANY:f4->(target) stg_ACCOUNT_CONTACT_ROLE:f4
(source) stg_COMPANY:f5->(target) stg_ACCOUNT_CONTACT_ROLE:f5
SELECT
PROPERTY_CREATEDATE AS CREATED_DATE ,
ID ,
IS_DELETED ,
PROPERTY_HS_LASTMODIFIEDDATE AS LAST_MODIFIED_DATE ,
_FIVETRAN_DELETED ,
_FIVETRAN_SYNCED
FROM
stg_COMPANY
⚠️ SQL query is just for reference based on schema. To ensure correctness, data access is required.
%3
(target) stg_CASE_STATUS
(target) stg_CASE_STATUS
CREATED_DATE
IS_CLOSED
LAST_MODIFIED_DATE
MASTER_LABEL
SORT_ORDER
_FIVETRAN_DELETED
(source) stg_TICKET_PIPELINE_STAGE
(source) stg_TICKET_PIPELINE_STAGE
CREATED_AT
IS_CLOSED
UPDATED_AT
LABEL
DISPLAY_ORDER
_FIVETRAN_DELETED
(source) stg_TICKET_PIPELINE_STAGE:f0->(target) stg_CASE_STATUS:f0
(source) stg_TICKET_PIPELINE_STAGE:f1->(target) stg_CASE_STATUS:f1
(source) stg_TICKET_PIPELINE_STAGE:f2->(target) stg_CASE_STATUS:f2
(source) stg_TICKET_PIPELINE_STAGE:f3->(target) stg_CASE_STATUS:f3
(source) stg_TICKET_PIPELINE_STAGE:f4->(target) stg_CASE_STATUS:f4
(source) stg_TICKET_PIPELINE_STAGE:f5->(target) stg_CASE_STATUS:f5
SELECT
CREATED_AT AS CREATED_DATE ,
IS_CLOSED ,
UPDATED_AT AS LAST_MODIFIED_DATE ,
LABEL AS MASTER_LABEL ,
DISPLAY_ORDER AS SORT_ORDER ,
_FIVETRAN_DELETED
FROM
stg_TICKET_PIPELINE_STAGE
WHERE
1 = 1 -- This is a placeholder. You might want to add conditions here, e.g., to filter out deleted records
⚠️ SQL query is just for reference based on schema. To ensure correctness, data access is required.
%3
(target) stg_CONTACT
(target) stg_CONTACT
CONTACT_SOURCE
CREATED_DATE
DESCRIPTION
EMAIL
FIRST_NAME
IS_DELETED
LAST_MODIFIED_DATE
LAST_NAME
LEAD_SOURCE
MAILING_CITY
MAILING_COUNTRY
MAILING_POSTAL_CODE
MAILING_STATE
MAILING_STREET
MOBILE_PHONE
NAME
OTHER_CITY
OTHER_COUNTRY
OTHER_POSTAL_CODE
OTHER_STATE
OTHER_STREET
PHONE
SYSTEM_MODSTAMP
TITLE
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_CONTACT
(source) stg_CONTACT
PROPERTY_HS_OBJECT_SOURCE
PROPERTY_CREATEDATE
PROPERTY_EMAIL
PROPERTY_FIRSTNAME
IS_DELETED
PROPERTY_LASTMODIFIEDDATE
PROPERTY_LASTNAME
PROPERTY_HS_LATEST_SOURCE
PROPERTY_MOBILEPHONE
PROPERTY_HS_CALCULATED_MOBILE_NUMBER
_FIVETRAN_SYNCED
PROPERTY_JOBTITLE
_FIVETRAN_DELETED
(source) stg_CONTACT:f0->(target) stg_CONTACT:f0
(source) stg_CONTACT:f1->(target) stg_CONTACT:f1
(source) stg_CONTACT:f2->(target) stg_CONTACT:f3
(source) stg_CONTACT:f3->(target) stg_CONTACT:f4
(source) stg_CONTACT:f4->(target) stg_CONTACT:f5
(source) stg_CONTACT:f5->(target) stg_CONTACT:f6
(source) stg_CONTACT:f6->(target) stg_CONTACT:f7
(source) stg_CONTACT:f7->(target) stg_CONTACT:f8
(source) stg_CONTACT:f8->(target) stg_CONTACT:f14
(source) stg_CONTACT:f3->(target) stg_CONTACT:f15
(source) stg_CONTACT:f6->(target) stg_CONTACT:f15
(source) stg_CONTACT:f9->(target) stg_CONTACT:f21
(source) stg_CONTACT:f10->(target) stg_CONTACT:f22
(source) stg_CONTACT:f11->(target) stg_CONTACT:f23
(source) stg_CONTACT:f12->(target) stg_CONTACT:f24
(source) stg_CONTACT:f10->(target) stg_CONTACT:f25
(source) stg_COMPANY
(source) stg_COMPANY
PROPERTY_DESCRIPTION
PROPERTY_CITY
PROPERTY_COUNTRY
PROPERTY_ZIP
PROPERTY_STATE
PROPERTY_ADDRESS
PROPERTY_ADDRESS_2
(source) stg_COMPANY:f0->(target) stg_CONTACT:f2
(source) stg_COMPANY:f1->(target) stg_CONTACT:f9
(source) stg_COMPANY:f2->(target) stg_CONTACT:f10
(source) stg_COMPANY:f3->(target) stg_CONTACT:f11
(source) stg_COMPANY:f4->(target) stg_CONTACT:f12
(source) stg_COMPANY:f5->(target) stg_CONTACT:f13
(source) stg_COMPANY:f1->(target) stg_CONTACT:f16
(source) stg_COMPANY:f2->(target) stg_CONTACT:f17
(source) stg_COMPANY:f3->(target) stg_CONTACT:f18
(source) stg_COMPANY:f4->(target) stg_CONTACT:f19
(source) stg_COMPANY:f6->(target) stg_CONTACT:f20
SELECT
stg_CONTACT . PROPERTY_HS_OBJECT_SOURCE AS CONTACT_SOURCE ,
stg_CONTACT . PROPERTY_CREATEDATE AS CREATED_DATE ,
stg_COMPANY . PROPERTY_DESCRIPTION AS DESCRIPTION ,
stg_CONTACT . PROPERTY_EMAIL AS EMAIL ,
stg_CONTACT . PROPERTY_FIRSTNAME AS FIRST_NAME ,
stg_CONTACT . IS_DELETED ,
stg_CONTACT . PROPERTY_LASTMODIFIEDDATE AS LAST_MODIFIED_DATE ,
stg_CONTACT . PROPERTY_LASTNAME AS LAST_NAME ,
stg_CONTACT . PROPERTY_HS_LATEST_SOURCE AS LEAD_SOURCE ,
stg_COMPANY . PROPERTY_CITY AS MAILING_CITY ,
stg_COMPANY . PROPERTY_COUNTRY AS MAILING_COUNTRY ,
stg_COMPANY . PROPERTY_ZIP AS MAILING_POSTAL_CODE ,
stg_COMPANY . PROPERTY_STATE AS MAILING_STATE ,
stg_COMPANY . PROPERTY_ADDRESS AS MAILING_STREET ,
stg_CONTACT . PROPERTY_MOBILEPHONE AS MOBILE_PHONE ,
CONCAT ( stg_CONTACT . PROPERTY_FIRSTNAME , ' ' , stg_CONTACT . PROPERTY_LASTNAME ) AS NAME ,
stg_COMPANY . PROPERTY_CITY AS OTHER_CITY ,
stg_COMPANY . PROPERTY_COUNTRY AS OTHER_COUNTRY ,
stg_COMPANY . PROPERTY_ZIP AS OTHER_POSTAL_CODE ,
stg_COMPANY . PROPERTY_STATE AS OTHER_STATE ,
stg_COMPANY . PROPERTY_ADDRESS_2 AS OTHER_STREET ,
stg_CONTACT . PROPERTY_HS_CALCULATED_MOBILE_NUMBER AS PHONE ,
stg_CONTACT . _FIVETRAN_SYNCED AS SYSTEM_MODSTAMP ,
stg_CONTACT . PROPERTY_JOBTITLE AS TITLE ,
stg_CONTACT . _FIVETRAN_DELETED ,
stg_CONTACT . _FIVETRAN_SYNCED
FROM
stg_CONTACT
LEFT JOIN
stg_OWNER ON stg_CONTACT . PROPERTY_HUBSPOT_OWNER_ID = stg_OWNER . OWNER_ID
LEFT JOIN
stg_COMPANY ON stg_CONTACT . ID = stg_COMPANY . ID
WHERE
stg_CONTACT . _FIVETRAN_DELETED = FALSE
⚠️ SQL query is just for reference based on schema. To ensure correctness, data access is required.
%3
(target) stg_CONTACT_POINT_ADDRESS
(target) stg_CONTACT_POINT_ADDRESS
CITY
COUNTRY
CREATED_DATE
IS_DELETED
LAST_MODIFIED_DATE
NAME
PARENT_ID
POSTAL_CODE
STATE
STREET
_FIVETRAN_SYNCED
(source) stg_COMPANY
(source) stg_COMPANY
PROPERTY_CITY
PROPERTY_COUNTRY
PROPERTY_CREATEDATE
IS_DELETED
PROPERTY_HS_LASTMODIFIEDDATE
PROPERTY_NAME
ID
PROPERTY_ZIP
PROPERTY_STATE
PROPERTY_ADDRESS
_FIVETRAN_SYNCED
(source) stg_COMPANY:f0->(target) stg_CONTACT_POINT_ADDRESS:f0
(source) stg_COMPANY:f1->(target) stg_CONTACT_POINT_ADDRESS:f1
(source) stg_COMPANY:f2->(target) stg_CONTACT_POINT_ADDRESS:f2
(source) stg_COMPANY:f3->(target) stg_CONTACT_POINT_ADDRESS:f3
(source) stg_COMPANY:f4->(target) stg_CONTACT_POINT_ADDRESS:f4
(source) stg_COMPANY:f5->(target) stg_CONTACT_POINT_ADDRESS:f5
(source) stg_COMPANY:f6->(target) stg_CONTACT_POINT_ADDRESS:f6
(source) stg_COMPANY:f7->(target) stg_CONTACT_POINT_ADDRESS:f7
(source) stg_COMPANY:f8->(target) stg_CONTACT_POINT_ADDRESS:f8
(source) stg_COMPANY:f9->(target) stg_CONTACT_POINT_ADDRESS:f9
(source) stg_COMPANY:f10->(target) stg_CONTACT_POINT_ADDRESS:f10
SELECT
stg . PROPERTY_CITY AS CITY ,
stg . PROPERTY_COUNTRY AS COUNTRY ,
stg . PROPERTY_CREATEDATE AS CREATED_DATE ,
stg . IS_DELETED ,
stg . PROPERTY_HS_LASTMODIFIEDDATE AS LAST_MODIFIED_DATE ,
stg . PROPERTY_NAME AS NAME ,
stg . ID AS PARENT_ID ,
stg . PROPERTY_ZIP AS POSTAL_CODE ,
stg . PROPERTY_STATE AS STATE ,
stg . PROPERTY_ADDRESS AS STREET ,
stg . _FIVETRAN_SYNCED
FROM
stg_COMPANY stg
⚠️ SQL query is just for reference based on schema. To ensure correctness, data access is required.
%3
(target) stg_CONTACT_POINT_EMAIL
(target) stg_CONTACT_POINT_EMAIL
CREATED_DATE
EMAIL_ADDRESS
EMAIL_DOMAIN
IS_DELETED
LAST_MODIFIED_DATE
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_CONTACT
(source) stg_CONTACT
PROPERTY_CREATEDATE
PROPERTY_EMAIL
PROPERTY_HS_EMAIL_DOMAIN
IS_DELETED
PROPERTY_LASTMODIFIEDDATE
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_CONTACT:f0->(target) stg_CONTACT_POINT_EMAIL:f0
(source) stg_CONTACT:f1->(target) stg_CONTACT_POINT_EMAIL:f1
(source) stg_CONTACT:f2->(target) stg_CONTACT_POINT_EMAIL:f2
(source) stg_CONTACT:f3->(target) stg_CONTACT_POINT_EMAIL:f3
(source) stg_CONTACT:f4->(target) stg_CONTACT_POINT_EMAIL:f4
(source) stg_CONTACT:f5->(target) stg_CONTACT_POINT_EMAIL:f5
(source) stg_CONTACT:f6->(target) stg_CONTACT_POINT_EMAIL:f6
SELECT
stg_CONTACT . PROPERTY_CREATEDATE AS CREATED_DATE ,
stg_CONTACT . PROPERTY_EMAIL AS EMAIL_ADDRESS ,
stg_CONTACT . PROPERTY_HS_EMAIL_DOMAIN AS EMAIL_DOMAIN ,
stg_CONTACT . IS_DELETED ,
stg_CONTACT . PROPERTY_LASTMODIFIEDDATE AS LAST_MODIFIED_DATE ,
stg_CONTACT . _FIVETRAN_DELETED ,
stg_CONTACT . _FIVETRAN_SYNCED
FROM
stg_CONTACT
LEFT JOIN
stg_OWNER ON stg_CONTACT . PROPERTY_HUBSPOT_OWNER_ID = stg_OWNER . OWNER_ID
⚠️ SQL query is just for reference based on schema. To ensure correctness, data access is required.
%3
(target) stg_CONTACT_REQUEST
(target) stg_CONTACT_REQUEST
CREATED_DATE
IS_DELETED
LAST_MODIFIED_DATE
NAME
STATUS
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_CONTACT
(source) stg_CONTACT
PROPERTY_CREATEDATE
IS_DELETED
PROPERTY_LASTMODIFIEDDATE
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_CONTACT:f0->(target) stg_CONTACT_REQUEST:f0
(source) stg_CONTACT:f1->(target) stg_CONTACT_REQUEST:f1
(source) stg_CONTACT:f2->(target) stg_CONTACT_REQUEST:f2
(source) stg_CONTACT:f3->(target) stg_CONTACT_REQUEST:f5
(source) stg_CONTACT:f4->(target) stg_CONTACT_REQUEST:f6
(source) stg_OWNER
(source) stg_OWNER
FIRST_NAME
LAST_NAME
(source) stg_OWNER:f0->(target) stg_CONTACT_REQUEST:f3
(source) stg_OWNER:f1->(target) stg_CONTACT_REQUEST:f3
(source) stg_ENGAGEMENT_TASK
(source) stg_ENGAGEMENT_TASK
PROPERTY_HS_TASK_STATUS
(source) stg_ENGAGEMENT_TASK:f0->(target) stg_CONTACT_REQUEST:f4
SELECT
c . PROPERTY_CREATEDATE AS CREATED_DATE ,
c . IS_DELETED ,
c . PROPERTY_LASTMODIFIEDDATE AS LAST_MODIFIED_DATE ,
CONCAT ( o . FIRST_NAME , ' ' , o . LAST_NAME ) AS NAME ,
e . PROPERTY_HS_TASK_STATUS AS STATUS ,
c . _FIVETRAN_DELETED ,
c . _FIVETRAN_SYNCED
FROM
stg_ENGAGEMENT_TASK e
LEFT JOIN
stg_OWNER o ON e . PROPERTY_HUBSPOT_OWNER_ID = o . OWNER_ID
LEFT JOIN
stg_CONTACT c ON e . PROPERTY_HS_TASK_FOR_OBJECT_ID = c . ID
WHERE
c . _FIVETRAN_DELETED IS NOT TRUE
⚠️ SQL query is just for reference based on schema. To ensure correctness, data access is required.
%3
(target) stg_CUSTOMER
(target) stg_CUSTOMER
CREATED_DATE
ID
IS_DELETED
LAST_MODIFIED_DATE
NAME
PARTY_ID
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_COMPANY
(source) stg_COMPANY
PROPERTY_CREATEDATE
ID
IS_DELETED
PROPERTY_HS_LASTMODIFIEDDATE
PROPERTY_NAME
PROPERTY_HS_OBJECT_ID
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_COMPANY:f0->(target) stg_CUSTOMER:f0
(source) stg_COMPANY:f1->(target) stg_CUSTOMER:f1
(source) stg_COMPANY:f2->(target) stg_CUSTOMER:f2
(source) stg_COMPANY:f3->(target) stg_CUSTOMER:f3
(source) stg_COMPANY:f4->(target) stg_CUSTOMER:f4
(source) stg_COMPANY:f5->(target) stg_CUSTOMER:f5
(source) stg_COMPANY:f6->(target) stg_CUSTOMER:f6
(source) stg_COMPANY:f7->(target) stg_CUSTOMER:f7
SELECT
c . PROPERTY_CREATEDATE AS CREATED_DATE ,
c . ID ,
c . IS_DELETED ,
c . PROPERTY_HS_LASTMODIFIEDDATE AS LAST_MODIFIED_DATE ,
c . PROPERTY_NAME AS NAME ,
c . PROPERTY_HS_OBJECT_ID AS PARTY_ID ,
c . _FIVETRAN_DELETED ,
c . _FIVETRAN_SYNCED
FROM
stg_COMPANY c
WHERE
c . _FIVETRAN_DELETED = FALSE
⚠️ SQL query is just for reference based on schema. To ensure correctness, data access is required.
%3
(target) stg_INDIVIDUAL
(target) stg_INDIVIDUAL
CREATED_DATE
FIRST_NAME
IS_DELETED
LAST_MODIFIED_DATE
LAST_NAME
NAME
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_CONTACT
(source) stg_CONTACT
PROPERTY_CREATEDATE
PROPERTY_FIRSTNAME
IS_DELETED
PROPERTY_LASTMODIFIEDDATE
PROPERTY_LASTNAME
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_CONTACT:f0->(target) stg_INDIVIDUAL:f0
(source) stg_CONTACT:f1->(target) stg_INDIVIDUAL:f1
(source) stg_CONTACT:f2->(target) stg_INDIVIDUAL:f2
(source) stg_CONTACT:f3->(target) stg_INDIVIDUAL:f3
(source) stg_CONTACT:f4->(target) stg_INDIVIDUAL:f4
(source) stg_CONTACT:f1->(target) stg_INDIVIDUAL:f5
(source) stg_CONTACT:f4->(target) stg_INDIVIDUAL:f5
(source) stg_CONTACT:f5->(target) stg_INDIVIDUAL:f6
(source) stg_CONTACT:f6->(target) stg_INDIVIDUAL:f7
SELECT
c . PROPERTY_CREATEDATE AS CREATED_DATE ,
c . PROPERTY_FIRSTNAME AS FIRST_NAME ,
c . IS_DELETED ,
c . PROPERTY_LASTMODIFIEDDATE AS LAST_MODIFIED_DATE ,
c . PROPERTY_LASTNAME AS LAST_NAME ,
c . PROPERTY_FIRSTNAME || ' ' || c . PROPERTY_LASTNAME AS NAME ,
c . _FIVETRAN_DELETED ,
c . _FIVETRAN_SYNCED
FROM
stg_CONTACT c
LEFT JOIN
stg_OWNER o ON c . PROPERTY_HUBSPOT_OWNER_ID = o . OWNER_ID
WHERE
c . _FIVETRAN_DELETED IS NOT TRUE
⚠️ SQL query is just for reference based on schema. To ensure correctness, data access is required.
%3
(target) stg_MATCHING_INFORMATION
(target) stg_MATCHING_INFORMATION
CREATED_DATE
EMAIL_ADDRESS
IS_DELETED
LAST_MODIFIED_DATE
NAME
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_CONTACT
(source) stg_CONTACT
PROPERTY_CREATEDATE
PROPERTY_EMAIL
IS_DELETED
PROPERTY_LASTMODIFIEDDATE
PROPERTY_FIRSTNAME
PROPERTY_LASTNAME
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_CONTACT:f0->(target) stg_MATCHING_INFORMATION:f0
(source) stg_CONTACT:f1->(target) stg_MATCHING_INFORMATION:f1
(source) stg_CONTACT:f2->(target) stg_MATCHING_INFORMATION:f2
(source) stg_CONTACT:f3->(target) stg_MATCHING_INFORMATION:f3
(source) stg_CONTACT:f4->(target) stg_MATCHING_INFORMATION:f4
(source) stg_CONTACT:f5->(target) stg_MATCHING_INFORMATION:f4
(source) stg_CONTACT:f6->(target) stg_MATCHING_INFORMATION:f5
(source) stg_CONTACT:f7->(target) stg_MATCHING_INFORMATION:f6
SELECT
stg_CONTACT . PROPERTY_CREATEDATE AS CREATED_DATE ,
stg_CONTACT . PROPERTY_EMAIL AS EMAIL_ADDRESS ,
stg_CONTACT . IS_DELETED ,
stg_CONTACT . PROPERTY_LASTMODIFIEDDATE AS LAST_MODIFIED_DATE ,
CONCAT ( stg_CONTACT . PROPERTY_FIRSTNAME , ' ' , stg_CONTACT . PROPERTY_LASTNAME ) AS NAME ,
stg_CONTACT . _FIVETRAN_DELETED ,
stg_CONTACT . _FIVETRAN_SYNCED
FROM
stg_CONTACT
⚠️ SQL query is just for reference based on schema. To ensure correctness, data access is required.
%3
(target) stg_OPPORTUNITY_STAGE
(target) stg_OPPORTUNITY_STAGE
CREATED_DATE
DEFAULT_PROBABILITY
IS_CLOSED
IS_WON
LAST_MODIFIED_DATE
MASTER_LABEL
SORT_ORDER
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_DEAL_PIPELINE_STAGE
(source) stg_DEAL_PIPELINE_STAGE
CREATED_AT
PROBABILITY
CLOSED_WON
UPDATED_AT
LABEL
DISPLAY_ORDER
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_DEAL_PIPELINE_STAGE:f0->(target) stg_OPPORTUNITY_STAGE:f0
(source) stg_DEAL_PIPELINE_STAGE:f1->(target) stg_OPPORTUNITY_STAGE:f1
(source) stg_DEAL_PIPELINE_STAGE:f2->(target) stg_OPPORTUNITY_STAGE:f2
(source) stg_DEAL_PIPELINE_STAGE:f2->(target) stg_OPPORTUNITY_STAGE:f3
(source) stg_DEAL_PIPELINE_STAGE:f3->(target) stg_OPPORTUNITY_STAGE:f4
(source) stg_DEAL_PIPELINE_STAGE:f4->(target) stg_OPPORTUNITY_STAGE:f5
(source) stg_DEAL_PIPELINE_STAGE:f5->(target) stg_OPPORTUNITY_STAGE:f6
(source) stg_DEAL_PIPELINE_STAGE:f6->(target) stg_OPPORTUNITY_STAGE:f7
(source) stg_DEAL_PIPELINE_STAGE:f7->(target) stg_OPPORTUNITY_STAGE:f8
SELECT
CREATED_AT AS CREATED_DATE ,
PROBABILITY AS DEFAULT_PROBABILITY ,
CASE WHEN CLOSED_WON = true THEN true ELSE false END AS IS_CLOSED ,
CLOSED_WON AS IS_WON ,
UPDATED_AT AS LAST_MODIFIED_DATE ,
LABEL AS MASTER_LABEL ,
DISPLAY_ORDER AS SORT_ORDER ,
_FIVETRAN_DELETED ,
_FIVETRAN_SYNCED
FROM
stg_DEAL_PIPELINE_STAGE
⚠️ SQL query is just for reference based on schema. To ensure correctness, data access is required.
%3
(target) stg_PROCESS_INSTANCE
(target) stg_PROCESS_INSTANCE
CREATED_DATE
IS_DELETED
LAST_MODIFIED_DATE
TARGET_OBJECT_ID
(source) stg_ENGAGEMENT_TASK
(source) stg_ENGAGEMENT_TASK
PROPERTY_HS_CREATEDATE
_FIVETRAN_DELETED
PROPERTY_HS_LASTMODIFIEDDATE
PROPERTY_HS_OBJECT_ID
(source) stg_ENGAGEMENT_TASK:f0->(target) stg_PROCESS_INSTANCE:f0
(source) stg_ENGAGEMENT_TASK:f1->(target) stg_PROCESS_INSTANCE:f1
(source) stg_ENGAGEMENT_TASK:f2->(target) stg_PROCESS_INSTANCE:f2
(source) stg_ENGAGEMENT_TASK:f3->(target) stg_PROCESS_INSTANCE:f3
SELECT
et . PROPERTY_HS_CREATEDATE AS CREATED_DATE ,
et . _FIVETRAN_DELETED AS IS_DELETED ,
et . PROPERTY_HS_LASTMODIFIEDDATE AS LAST_MODIFIED_DATE ,
et . PROPERTY_HS_OBJECT_ID AS TARGET_OBJECT_ID
FROM
stg_ENGAGEMENT_TASK et
WHERE
1 = 1 -- This is a placeholder condition that always evaluates to true.
-- It's sometimes used to make it easier to add actual conditions later if needed.
⚠️ SQL query is just for reference based on schema. To ensure correctness, data access is required.
%3
(target) stg_SELLER
(target) stg_SELLER
CREATED_DATE
ID
IS_DELETED
LAST_MODIFIED_DATE
NAME
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_COMPANY
(source) stg_COMPANY
PROPERTY_CREATEDATE
ID
IS_DELETED
PROPERTY_HS_LASTMODIFIEDDATE
PROPERTY_NAME
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_COMPANY:f0->(target) stg_SELLER:f0
(source) stg_COMPANY:f1->(target) stg_SELLER:f1
(source) stg_COMPANY:f2->(target) stg_SELLER:f2
(source) stg_COMPANY:f3->(target) stg_SELLER:f3
(source) stg_COMPANY:f4->(target) stg_SELLER:f4
(source) stg_COMPANY:f5->(target) stg_SELLER:f5
(source) stg_COMPANY:f6->(target) stg_SELLER:f6
SELECT
PROPERTY_CREATEDATE AS CREATED_DATE ,
ID ,
IS_DELETED ,
PROPERTY_HS_LASTMODIFIEDDATE AS LAST_MODIFIED_DATE ,
PROPERTY_NAME AS NAME ,
_FIVETRAN_DELETED ,
_FIVETRAN_SYNCED
FROM
stg_COMPANY
⚠️ SQL query is just for reference based on schema. To ensure correctness, data access is required.
%3
(target) stg_SSOT_ACCOUNT_CONTACT_DLM
(target) stg_SSOT_ACCOUNT_CONTACT_DLM
ID
KQ_ID_C
SSOT_CREATED_DATE_C
SSOT_DATA_SOURCE_ID_C
SSOT_DATA_SOURCE_OBJECT_ID_C
SSOT_ID_C
SSOT_LAST_MODIFIED_DATE_C
SSOT_TITLE_C
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_COMPANY
(source) stg_COMPANY
ID
(source) stg_COMPANY:f0->(target) stg_SSOT_ACCOUNT_CONTACT_DLM:f0
(source) stg_CONTACT
(source) stg_CONTACT
PROPERTY_HS_OBJECT_ID
PROPERTY_CREATEDATE
PROPERTY_HS_OBJECT_SOURCE
PROPERTY_LASTMODIFIEDDATE
PROPERTY_JOBTITLE
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_CONTACT:f0->(target) stg_SSOT_ACCOUNT_CONTACT_DLM:f1
(source) stg_CONTACT:f1->(target) stg_SSOT_ACCOUNT_CONTACT_DLM:f2
(source) stg_CONTACT:f2->(target) stg_SSOT_ACCOUNT_CONTACT_DLM:f3
(source) stg_CONTACT:f0->(target) stg_SSOT_ACCOUNT_CONTACT_DLM:f4
(source) stg_CONTACT:f0->(target) stg_SSOT_ACCOUNT_CONTACT_DLM:f5
(source) stg_CONTACT:f3->(target) stg_SSOT_ACCOUNT_CONTACT_DLM:f6
(source) stg_CONTACT:f4->(target) stg_SSOT_ACCOUNT_CONTACT_DLM:f7
(source) stg_CONTACT:f5->(target) stg_SSOT_ACCOUNT_CONTACT_DLM:f8
(source) stg_CONTACT:f6->(target) stg_SSOT_ACCOUNT_CONTACT_DLM:f9
SELECT
COALESCE ( c . ID , ct . PROPERTY_HS_OBJECT_ID ) AS ID ,
ct . PROPERTY_HS_OBJECT_ID AS KQ_ID_C ,
ct . PROPERTY_CREATEDATE AS SSOT_CREATED_DATE_C ,
ct . PROPERTY_HS_OBJECT_SOURCE AS SSOT_DATA_SOURCE_ID_C ,
ct . PROPERTY_HS_OBJECT_ID AS SSOT_DATA_SOURCE_OBJECT_ID_C ,
ct . PROPERTY_HS_OBJECT_ID AS SSOT_ID_C ,
ct . PROPERTY_LASTMODIFIEDDATE AS SSOT_LAST_MODIFIED_DATE_C ,
ct . PROPERTY_JOBTITLE AS SSOT_TITLE_C ,
ct . _FIVETRAN_DELETED ,
ct . _FIVETRAN_SYNCED
FROM
stg_CONTACT ct
LEFT JOIN
stg_COMPANY c ON ct . COMPANY_ID = c . ID
⚠️ SQL query is just for reference based on schema. To ensure correctness, data access is required.
%3
(target) stg_SSOT_ACCOUNT_DLM
(target) stg_SSOT_ACCOUNT_DLM
SSOT_ACCOUNT_SOURCE_C
SSOT_ANNUAL_REVENUE_AMOUNT_C
SSOT_CREATED_DATE_C
SSOT_DATA_SOURCE_ID_C
SSOT_DATA_SOURCE_OBJECT_ID_C
SSOT_DESCRIPTION_C
SSOT_EMPLOYEE_COUNT_C
SSOT_LAST_MODIFIED_DATE_C
SSOT_NAME_C
SSOT_PRIMARY_INDUSTRY_C
SSOT_WEBSITE_ADDR_C
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_COMPANY
(source) stg_COMPANY
PROPERTY_HS_OBJECT_SOURCE
PROPERTY_ANNUALREVENUE
PROPERTY_CREATEDATE
PROPERTY_HS_OBJECT_SOURCE_ID
PROPERTY_HS_OBJECT_ID
PROPERTY_DESCRIPTION
PROPERTY_NUMBEROFEMPLOYEES
PROPERTY_HS_LASTMODIFIEDDATE
PROPERTY_NAME
PROPERTY_INDUSTRY
PROPERTY_WEBSITE
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_COMPANY:f0->(target) stg_SSOT_ACCOUNT_DLM:f0
(source) stg_COMPANY:f1->(target) stg_SSOT_ACCOUNT_DLM:f1
(source) stg_COMPANY:f2->(target) stg_SSOT_ACCOUNT_DLM:f2
(source) stg_COMPANY:f3->(target) stg_SSOT_ACCOUNT_DLM:f3
(source) stg_COMPANY:f4->(target) stg_SSOT_ACCOUNT_DLM:f4
(source) stg_COMPANY:f5->(target) stg_SSOT_ACCOUNT_DLM:f5
(source) stg_COMPANY:f6->(target) stg_SSOT_ACCOUNT_DLM:f6
(source) stg_COMPANY:f7->(target) stg_SSOT_ACCOUNT_DLM:f7
(source) stg_COMPANY:f8->(target) stg_SSOT_ACCOUNT_DLM:f8
(source) stg_COMPANY:f9->(target) stg_SSOT_ACCOUNT_DLM:f9
(source) stg_COMPANY:f10->(target) stg_SSOT_ACCOUNT_DLM:f10
(source) stg_COMPANY:f11->(target) stg_SSOT_ACCOUNT_DLM:f11
(source) stg_COMPANY:f12->(target) stg_SSOT_ACCOUNT_DLM:f12
SELECT
PROPERTY_HS_OBJECT_SOURCE AS SSOT_ACCOUNT_SOURCE_C ,
PROPERTY_ANNUALREVENUE AS SSOT_ANNUAL_REVENUE_AMOUNT_C ,
PROPERTY_CREATEDATE AS SSOT_CREATED_DATE_C ,
PROPERTY_HS_OBJECT_SOURCE_ID AS SSOT_DATA_SOURCE_ID_C ,
PROPERTY_HS_OBJECT_ID AS SSOT_DATA_SOURCE_OBJECT_ID_C ,
PROPERTY_DESCRIPTION AS SSOT_DESCRIPTION_C ,
PROPERTY_NUMBEROFEMPLOYEES AS SSOT_EMPLOYEE_COUNT_C ,
PROPERTY_HS_LASTMODIFIEDDATE AS SSOT_LAST_MODIFIED_DATE_C ,
PROPERTY_NAME AS SSOT_NAME_C ,
PROPERTY_INDUSTRY AS SSOT_PRIMARY_INDUSTRY_C ,
PROPERTY_WEBSITE AS SSOT_WEBSITE_ADDR_C ,
_FIVETRAN_DELETED ,
_FIVETRAN_SYNCED
FROM
stg_COMPANY
⚠️ SQL query is just for reference based on schema. To ensure correctness, data access is required.
%3
(target) stg_SSOT_CONTACT_POINT_EMAIL_DLM
(target) stg_SSOT_CONTACT_POINT_EMAIL_DLM
KQ_PARTY_ID_C
SSOT_DATA_SOURCE_ID_C
SSOT_DATA_SOURCE_OBJECT_ID_C
SSOT_EMAIL_ADDRESS_C
SSOT_ID_C
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_COMPANY
(source) stg_COMPANY
ID
PORTAL_ID
PROPERTY_SL_EMAIL_ADDRESS_FIRST
PROPERTY_HS_OBJECT_ID
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_COMPANY:f0->(target) stg_SSOT_CONTACT_POINT_EMAIL_DLM:f0
(source) stg_COMPANY:f1->(target) stg_SSOT_CONTACT_POINT_EMAIL_DLM:f1
(source) stg_COMPANY:f0->(target) stg_SSOT_CONTACT_POINT_EMAIL_DLM:f2
(source) stg_COMPANY:f2->(target) stg_SSOT_CONTACT_POINT_EMAIL_DLM:f3
(source) stg_COMPANY:f3->(target) stg_SSOT_CONTACT_POINT_EMAIL_DLM:f4
(source) stg_COMPANY:f4->(target) stg_SSOT_CONTACT_POINT_EMAIL_DLM:f5
(source) stg_COMPANY:f5->(target) stg_SSOT_CONTACT_POINT_EMAIL_DLM:f6
SELECT
stg_COMPANY . ID AS KQ_PARTY_ID_C ,
stg_COMPANY . PORTAL_ID AS SSOT_DATA_SOURCE_ID_C ,
stg_COMPANY . ID AS SSOT_DATA_SOURCE_OBJECT_ID_C ,
stg_COMPANY . PROPERTY_SL_EMAIL_ADDRESS_FIRST AS SSOT_EMAIL_ADDRESS_C ,
stg_COMPANY . PROPERTY_HS_OBJECT_ID AS SSOT_ID_C ,
stg_COMPANY . _FIVETRAN_DELETED ,
stg_COMPANY . _FIVETRAN_SYNCED
FROM
stg_COMPANY
⚠️ SQL query is just for reference based on schema. To ensure correctness, data access is required.
%3
(target) stg_SSOT_INDIVIDUAL_DLM
(target) stg_SSOT_INDIVIDUAL_DLM
SSOT_CREATED_DATE_C
SSOT_DATA_SOURCE_ID_C
SSOT_DATA_SOURCE_OBJECT_ID_C
SSOT_FIRST_NAME_C
SSOT_ID_C
SSOT_LAST_MODIFIED_DATE_C
SSOT_LAST_NAME_C
SSOT_PERSON_NAME_C
SSOT_TITLE_NAME_C
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_CONTACT
(source) stg_CONTACT
PROPERTY_CREATEDATE
PROPERTY_HS_OBJECT_SOURCE_ID
PROPERTY_HS_OBJECT_ID
PROPERTY_FIRSTNAME
PROPERTY_LASTMODIFIEDDATE
PROPERTY_LASTNAME
PROPERTY_JOBTITLE
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_CONTACT:f0->(target) stg_SSOT_INDIVIDUAL_DLM:f0
(source) stg_CONTACT:f1->(target) stg_SSOT_INDIVIDUAL_DLM:f1
(source) stg_CONTACT:f2->(target) stg_SSOT_INDIVIDUAL_DLM:f2
(source) stg_CONTACT:f3->(target) stg_SSOT_INDIVIDUAL_DLM:f3
(source) stg_CONTACT:f2->(target) stg_SSOT_INDIVIDUAL_DLM:f4
(source) stg_CONTACT:f4->(target) stg_SSOT_INDIVIDUAL_DLM:f5
(source) stg_CONTACT:f5->(target) stg_SSOT_INDIVIDUAL_DLM:f6
(source) stg_CONTACT:f3->(target) stg_SSOT_INDIVIDUAL_DLM:f7
(source) stg_CONTACT:f5->(target) stg_SSOT_INDIVIDUAL_DLM:f7
(source) stg_CONTACT:f6->(target) stg_SSOT_INDIVIDUAL_DLM:f8
(source) stg_CONTACT:f7->(target) stg_SSOT_INDIVIDUAL_DLM:f9
(source) stg_CONTACT:f8->(target) stg_SSOT_INDIVIDUAL_DLM:f10
SELECT
c . PROPERTY_CREATEDATE AS SSOT_CREATED_DATE_C ,
c . PROPERTY_HS_OBJECT_SOURCE_ID AS SSOT_DATA_SOURCE_ID_C ,
c . PROPERTY_HS_OBJECT_ID AS SSOT_DATA_SOURCE_OBJECT_ID_C ,
c . PROPERTY_FIRSTNAME AS SSOT_FIRST_NAME_C ,
c . PROPERTY_HS_OBJECT_ID AS SSOT_ID_C ,
c . PROPERTY_LASTMODIFIEDDATE AS SSOT_LAST_MODIFIED_DATE_C ,
c . PROPERTY_LASTNAME AS SSOT_LAST_NAME_C ,
CONCAT ( c . PROPERTY_FIRSTNAME , ' ' , c . PROPERTY_LASTNAME ) AS SSOT_PERSON_NAME_C ,
c . PROPERTY_JOBTITLE AS SSOT_TITLE_NAME_C ,
c . _FIVETRAN_DELETED ,
c . _FIVETRAN_SYNCED
FROM
stg_CONTACT c
LEFT JOIN
stg_OWNER o ON c . PROPERTY_HUBSPOT_OWNER_ID = o . OWNER_ID
WHERE
c . _FIVETRAN_DELETED = FALSE
⚠️ SQL query is just for reference based on schema. To ensure correctness, data access is required.
%3
(target) stg_TASK
(target) stg_TASK
CREATED_DATE
IS_CLOSED
IS_DELETED
IS_HIGH_PRIORITY
IS_REMINDER_SET
LAST_MODIFIED_DATE
PRIORITY
STATUS
SUBJECT
TASK_SUBTYPE
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_ENGAGEMENT_TASK
(source) stg_ENGAGEMENT_TASK
PROPERTY_HS_CREATEDATE
PROPERTY_HS_TASK_IS_COMPLETED
_FIVETRAN_DELETED
PROPERTY_HS_TASK_PRIORITY
PROPERTY_HS_TASK_SEND_DEFAULT_REMINDER
PROPERTY_HS_LASTMODIFIEDDATE
PROPERTY_HS_TASK_STATUS
PROPERTY_HS_TASK_SUBJECT
PROPERTY_HS_TASK_TYPE
_FIVETRAN_SYNCED
(source) stg_ENGAGEMENT_TASK:f0->(target) stg_TASK:f0
(source) stg_ENGAGEMENT_TASK:f1->(target) stg_TASK:f1
(source) stg_ENGAGEMENT_TASK:f2->(target) stg_TASK:f2
(source) stg_ENGAGEMENT_TASK:f3->(target) stg_TASK:f3
(source) stg_ENGAGEMENT_TASK:f4->(target) stg_TASK:f4
(source) stg_ENGAGEMENT_TASK:f5->(target) stg_TASK:f5
(source) stg_ENGAGEMENT_TASK:f3->(target) stg_TASK:f6
(source) stg_ENGAGEMENT_TASK:f6->(target) stg_TASK:f7
(source) stg_ENGAGEMENT_TASK:f7->(target) stg_TASK:f8
(source) stg_ENGAGEMENT_TASK:f8->(target) stg_TASK:f9
(source) stg_ENGAGEMENT_TASK:f2->(target) stg_TASK:f10
(source) stg_ENGAGEMENT_TASK:f9->(target) stg_TASK:f11
SELECT
et . PROPERTY_HS_CREATEDATE AS CREATED_DATE ,
et . PROPERTY_HS_TASK_IS_COMPLETED AS IS_CLOSED ,
et . _FIVETRAN_DELETED AS IS_DELETED ,
CASE WHEN et . PROPERTY_HS_TASK_PRIORITY = 'HIGH' THEN TRUE ELSE FALSE END AS IS_HIGH_PRIORITY ,
et . PROPERTY_HS_TASK_SEND_DEFAULT_REMINDER AS IS_REMINDER_SET ,
et . PROPERTY_HS_LASTMODIFIEDDATE AS LAST_MODIFIED_DATE ,
et . PROPERTY_HS_TASK_PRIORITY AS PRIORITY ,
et . PROPERTY_HS_TASK_STATUS AS STATUS ,
et . PROPERTY_HS_TASK_SUBJECT AS SUBJECT ,
et . PROPERTY_HS_TASK_TYPE AS TASK_SUBTYPE ,
et . _FIVETRAN_DELETED ,
et . _FIVETRAN_SYNCED
FROM
stg_ENGAGEMENT_TASK et
LEFT JOIN
stg_ENGAGEMENT e ON et . ENGAGEMENT_ID = e . ID
LEFT JOIN
stg_OWNER o ON et . PROPERTY_HUBSPOT_OWNER_ID = o . OWNER_ID
⚠️ SQL query is just for reference based on schema. To ensure correctness, data access is required.
%3
(target) stg_TASK_WHO_RELATION
(target) stg_TASK_WHO_RELATION
CREATED_DATE
ID
IS_DELETED
LAST_MODIFIED_DATE
TYPE
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_ENGAGEMENT_TASK
(source) stg_ENGAGEMENT_TASK
CREATED_TIME
ID
_FIVETRAN_DELETED
LAST_UPDATED
_FIVETRAN_SYNCED
(source) stg_ENGAGEMENT_TASK:f0->(target) stg_TASK_WHO_RELATION:f0
(source) stg_ENGAGEMENT_TASK:f1->(target) stg_TASK_WHO_RELATION:f1
(source) stg_ENGAGEMENT_TASK:f2->(target) stg_TASK_WHO_RELATION:f2
(source) stg_ENGAGEMENT_TASK:f3->(target) stg_TASK_WHO_RELATION:f3
(source) stg_ENGAGEMENT_TASK:f2->(target) stg_TASK_WHO_RELATION:f5
(source) stg_ENGAGEMENT_TASK:f4->(target) stg_TASK_WHO_RELATION:f6
(source) stg_ENGAGEMENT
(source) stg_ENGAGEMENT
TYPE
(source) stg_ENGAGEMENT:f0->(target) stg_TASK_WHO_RELATION:f4
SELECT
et . CREATED_TIME AS CREATED_DATE ,
et . ID ,
et . _FIVETRAN_DELETED AS IS_DELETED ,
et . LAST_UPDATED AS LAST_MODIFIED_DATE ,
e . TYPE ,
et . _FIVETRAN_DELETED ,
et . _FIVETRAN_SYNCED
FROM
stg_ENGAGEMENT_TASK et
LEFT JOIN
stg_ENGAGEMENT e ON et . ENGAGEMENT_ID = e . ID
⚠️ SQL query is just for reference based on schema. To ensure correctness, data access is required.
%3
(target) stg_UNIFIED_INDIVIDUAL_DLM
(target) stg_UNIFIED_INDIVIDUAL_DLM
SSOT_CREATED_DATE_C
SSOT_FIRST_NAME_C
SSOT_LAST_MODIFIED_DATE_C
SSOT_LAST_NAME_C
SSOT_PERSON_NAME_C
SSOT_TITLE_NAME_C
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_CONTACT
(source) stg_CONTACT
PROPERTY_CREATEDATE
PROPERTY_FIRSTNAME
PROPERTY_LASTMODIFIEDDATE
PROPERTY_LASTNAME
PROPERTY_JOBTITLE
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_CONTACT:f0->(target) stg_UNIFIED_INDIVIDUAL_DLM:f0
(source) stg_CONTACT:f1->(target) stg_UNIFIED_INDIVIDUAL_DLM:f1
(source) stg_CONTACT:f2->(target) stg_UNIFIED_INDIVIDUAL_DLM:f2
(source) stg_CONTACT:f3->(target) stg_UNIFIED_INDIVIDUAL_DLM:f3
(source) stg_CONTACT:f1->(target) stg_UNIFIED_INDIVIDUAL_DLM:f4
(source) stg_CONTACT:f3->(target) stg_UNIFIED_INDIVIDUAL_DLM:f4
(source) stg_CONTACT:f4->(target) stg_UNIFIED_INDIVIDUAL_DLM:f5
(source) stg_CONTACT:f5->(target) stg_UNIFIED_INDIVIDUAL_DLM:f6
(source) stg_CONTACT:f6->(target) stg_UNIFIED_INDIVIDUAL_DLM:f7
SELECT
stg_CONTACT . PROPERTY_CREATEDATE AS SSOT_CREATED_DATE_C ,
stg_CONTACT . PROPERTY_FIRSTNAME AS SSOT_FIRST_NAME_C ,
stg_CONTACT . PROPERTY_LASTMODIFIEDDATE AS SSOT_LAST_MODIFIED_DATE_C ,
stg_CONTACT . PROPERTY_LASTNAME AS SSOT_LAST_NAME_C ,
CONCAT ( stg_CONTACT . PROPERTY_FIRSTNAME , ' ' , stg_CONTACT . PROPERTY_LASTNAME ) AS SSOT_PERSON_NAME_C ,
stg_CONTACT . PROPERTY_JOBTITLE AS SSOT_TITLE_NAME_C ,
stg_CONTACT . _FIVETRAN_DELETED ,
stg_CONTACT . _FIVETRAN_SYNCED
FROM
stg_CONTACT
LEFT JOIN
stg_OWNER ON stg_CONTACT . PROPERTY_HUBSPOT_OWNER_ID = stg_OWNER . OWNER_ID
⚠️ SQL query is just for reference based on schema. To ensure correctness, data access is required.
%3
(target) stg_USER
(target) stg_USER
CREATED_DATE
EMAIL
FIRST_NAME
IS_ACTIVE
LAST_MODIFIED_DATE
LAST_NAME
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_OWNER
(source) stg_OWNER
CREATED_AT
EMAIL
FIRST_NAME
IS_ACTIVE
UPDATED_AT
LAST_NAME
_FIVETRAN_SYNCED
(source) stg_OWNER:f0->(target) stg_USER:f0
(source) stg_OWNER:f1->(target) stg_USER:f1
(source) stg_OWNER:f2->(target) stg_USER:f2
(source) stg_OWNER:f3->(target) stg_USER:f3
(source) stg_OWNER:f4->(target) stg_USER:f4
(source) stg_OWNER:f5->(target) stg_USER:f5
(source) stg_OWNER:f6->(target) stg_USER:f7
(source) stg_USERS
(source) stg_USERS
_FIVETRAN_DELETED
(source) stg_USERS:f0->(target) stg_USER:f6
SELECT
o . CREATED_AT AS CREATED_DATE ,
o . EMAIL ,
o . FIRST_NAME ,
o . IS_ACTIVE ,
o . UPDATED_AT AS LAST_MODIFIED_DATE ,
o . LAST_NAME ,
COALESCE ( u . _FIVETRAN_DELETED , FALSE ) AS _FIVETRAN_DELETED ,
o . _FIVETRAN_SYNCED
FROM
stg_USERS u
JOIN
stg_OWNER o ON u . ID = o . OWNER_ID
⚠️ SQL query is just for reference based on schema. To ensure correctness, data access is required.
%3
(target) stg_USER_EMAIL_PREFERRED_PERSON
(target) stg_USER_EMAIL_PREFERRED_PERSON
CREATED_DATE
EMAIL
LAST_MODIFIED_DATE
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_OWNER
(source) stg_OWNER
CREATED_AT
EMAIL
UPDATED_AT
_FIVETRAN_SYNCED
(source) stg_OWNER:f0->(target) stg_USER_EMAIL_PREFERRED_PERSON:f0
(source) stg_OWNER:f1->(target) stg_USER_EMAIL_PREFERRED_PERSON:f1
(source) stg_OWNER:f2->(target) stg_USER_EMAIL_PREFERRED_PERSON:f2
(source) stg_OWNER:f3->(target) stg_USER_EMAIL_PREFERRED_PERSON:f4
(source) stg_USERS
(source) stg_USERS
_FIVETRAN_DELETED
(source) stg_USERS:f0->(target) stg_USER_EMAIL_PREFERRED_PERSON:f3
SELECT
o . CREATED_AT AS CREATED_DATE ,
o . EMAIL ,
o . UPDATED_AT AS LAST_MODIFIED_DATE ,
u . _FIVETRAN_DELETED ,
o . _FIVETRAN_SYNCED
FROM
stg_USERS u
JOIN
stg_OWNER o ON u . ID = o . OWNER_ID
⚠️ SQL query is just for reference based on schema. To ensure correctness, data access is required.
%3
(target) stg_USER_PROV_MOCK_TARGET
(target) stg_USER_PROV_MOCK_TARGET
CREATED_DATE
EXTERNAL_EMAIL
EXTERNAL_FIRST_NAME
EXTERNAL_LAST_NAME
IS_DELETED
LAST_MODIFIED_DATE
NAME
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_OWNER
(source) stg_OWNER
CREATED_AT
EMAIL
FIRST_NAME
LAST_NAME
IS_ACTIVE
UPDATED_AT
_FIVETRAN_DELETED
_FIVETRAN_SYNCED
(source) stg_OWNER:f0->(target) stg_USER_PROV_MOCK_TARGET:f0
(source) stg_OWNER:f1->(target) stg_USER_PROV_MOCK_TARGET:f1
(source) stg_OWNER:f2->(target) stg_USER_PROV_MOCK_TARGET:f2
(source) stg_OWNER:f3->(target) stg_USER_PROV_MOCK_TARGET:f3
(source) stg_OWNER:f4->(target) stg_USER_PROV_MOCK_TARGET:f4
(source) stg_OWNER:f5->(target) stg_USER_PROV_MOCK_TARGET:f5
(source) stg_OWNER:f2->(target) stg_USER_PROV_MOCK_TARGET:f6
(source) stg_OWNER:f3->(target) stg_USER_PROV_MOCK_TARGET:f6
(source) stg_OWNER:f6->(target) stg_USER_PROV_MOCK_TARGET:f7
(source) stg_OWNER:f7->(target) stg_USER_PROV_MOCK_TARGET:f8
SELECT
o . CREATED_AT AS CREATED_DATE ,
o . EMAIL AS EXTERNAL_EMAIL ,
o . FIRST_NAME AS EXTERNAL_FIRST_NAME ,
o . LAST_NAME AS EXTERNAL_LAST_NAME ,
CASE WHEN o . IS_ACTIVE = TRUE THEN FALSE ELSE TRUE END AS IS_DELETED ,
o . UPDATED_AT AS LAST_MODIFIED_DATE ,
CONCAT ( o . FIRST_NAME , ' ' , o . LAST_NAME ) AS NAME ,
o . _FIVETRAN_DELETED ,
o . _FIVETRAN_SYNCED
FROM
stg_OWNER o
JOIN
stg_USERS u ON o . EMAIL = u . EMAIL
WHERE
o . _FIVETRAN_DELETED = FALSE
⚠️ SQL query is just for reference based on schema. To ensure correctness, data access is required.