ODBC Driver for Neo4j

Build 22.0.8462

JOIN Queries

The CData ODBC Driver for Neo4j 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.ProductName, pc.CategoryName, pc.CategoryOwner, opc.CategoryAvgPrice FROM Product p INNER JOIN ProductCategory pc ON p.CategoryID = pc.CategoryID

Left Join

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

SELECT p.ProductName, pc.CategoryName, pc.CategoryOwner, opc.CategoryAvgPrice FROM Product p LEFT JOIN ProductCategory pc ON p.CategoryID = pc.CategoryID

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8462