Join data from multiple sources
Join synced Orders and Customers data in a read-only Virtual Collection.
To demonstrate how the data blending works, we'll use two data sources: Airtable and Google Sheets, where the former contains the Order table and the latter - the Customers table. Notice that the Customer ID column in the Orders table refers to the ID in the Customers table.

Once you've connected your data sources (read more on particular integrations here), proceed to the data section and pick a data source where you want to perform the blending (you can choose either one, it's just a matter of convenience)

Create a new Virtual Collection
Name the Collection
Click on the
CreatebuttonYou'll see all the data sources you've connected using "Sync" on the right. You can now pick the columns and use them in your query:
And after writing and running our query, we get the resulting table, containing Full name and Country columns from the Customers table together with the Order Date column from the Orders table.

After saving changes, we get a collection with joined data that we can later use in the interface.
Verify the join
Use a stable customer ID as the matching key. Two orders with the same customer ID should show the same customer. Check a missing customer ID and decide whether your query should keep or exclude that order.
For a small test, use Customers 1 (Ada) and 2 (Grace), with Orders 101 and 102 linked to customer 1 and Order 103 linked to customer 2. A join should return three order rows. Unexpected extra rows can mean the customer key is not unique.
A Virtual Collection supports SELECT queries and is read-only. It does not write the joined result back to either source.
Related example: a join within one Jet Tables resource
The following SQL collection joins Tickets and Customers from the same Jet Tables resource. It illustrates matching IDs and testing a parameterized join; it is not a cross-source Virtual Collection example.


Last updated
Was this helpful?