JOIN Queries
The CData JDBC Driver for Oracle HCM Cloud 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 c.SiteName, o.FontName, o.CustomFontId, o.FontNumber FROM RecruitingCESites c INNER JOIN RecruitingCESitescustomFonts o ON c.siteId = o.RecruitingCESitesSiteId
Left Join
A left join selects all rows in the FROM table and only matching rows in the JOIN table:
SELECT c.SiteName, o.FontName, o.CustomFontId, o.FontNumber FROM RecruitingCESites c LEFT JOIN RecruitingCESitescustomFonts o ON c.siteId = o.RecruitingCESitesSiteId