The Microsoft's example does not really work, because it needs a “_1” counter after the system table name. I have another example for you, in a 3-join of Customers ← Parties ← Addresses and a query across:
((((LogisticsPostalAddress_1.CountryRegionId = "REU") || (LogisticsPostalAddress_1.CountryRegionId = "GLP")) && (CustTable_1.CustGroup LIKE "C-EX-NOEU*")) || (CustTable_1.CustGroup LIKE "*DO*"))
It is like “take all customers with a DOmestic group, but also the NOEU group customers, but only if these are from Reunion or Guadeloupe”.
