ODBC Driver for HubSpot

Build 23.0.8839

JOIN Queries

The CData ODBC Driver for HubSpot supports standard SQL joins like the following examples.

Inner Join

An inner join selects only rows from both tables that match the join condition:

SELECT p.Name, a.FullName FROM BlogPosts p, BlogAuthors a WHERE p.AuthorUserId = a.Id

Left Join

A left join selects all rows in the FROM table and only matching rows in the JOIN table:

SELECT p.Name, a.FullName FROM BlogAuthors a LEFT JOIN BlogPosts p ON p.AuthorUserId = a.Id

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839