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