Identity PoC

Query

The model writes the SQL; it is shown below and runs only when you press Run.

Suppliers of a product with a site in one country and a parent in another

A site that states the product (a case-insensitive text match on the product name, by that site itself, not pooled) and lies in the site country, belonging to an entity that an active parent entity in the parent country controls (its direct parent, or a company that controls it directly or indirectly). Each condition is shown with the subject that met it.