Soql Relationship Query - Web soql provides syntax to support these types of queries, called relationship queries, against standard objects and custom objects. Use soql to query several relationship types. Where id in (select field1__c from object1 where id. Web object2 obj2 = [ select field1__c, field2__c from object2.
Use soql to query several relationship types. Web object2 obj2 = [ select field1__c, field2__c from object2. Where id in (select field1__c from object1 where id. Web soql provides syntax to support these types of queries, called relationship queries, against standard objects and custom objects.