ID bridge Dataset: 'Link with' function
In IQL, the LINK WITH clause enables you to use an ID Bridge Dataset to link keys across Datasets.
Rather than matching on a single ID, identifiers are probabilistically matched during each query using the information available.
In the example below, the offline and website Datasets do not share the same identifiers for John Smith. But the Mobile Dataset holds keys which can 'glue' the offline and website Datasets together, so during a query the customer records can be matched.
To specify the linking Dataset, simply write:
LINK WITH myDatasetYou can include any number of Datasets here. For example, write something like the following:
LINK WITH F, GTo bring it all together:
SELECT COUNT()
FROM
(A Union B) Exclude C
WHERE
Income >= 20000 AND
Age < 30
LINK WITH F, G