Skip to content

Instantly share code, notes, and snippets.

@krummja
Created April 13, 2022 15:50
Show Gist options
  • Save krummja/18651634977bcc147f1a6dab7905180c to your computer and use it in GitHub Desktop.
Save krummja/18651634977bcc147f1a6dab7905180c to your computer and use it in GitHub Desktop.
create table combined_accounts_contacts
as select A.*,
B.company_id,
B.first_name,
B.last_name
from defaultdb_public_accounts A
full join defaultdb_public_contacts B
on A.external_id = B.company_id;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment