JOIN Queries
The CData JDBC Driver for Stripe 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 Charges.Amount, Customers.Email FROM Customers INNER JOIN Charges ON Charges.CustomerId = Customers.Id
Left Join
A left join selects all rows in the FROM table and only matching rows in the JOIN table:
SELECT Charges.Amount, Customers.Email FROM Customers LEFT JOIN Charges ON Charges.CustomerId = Customers.Id