Here is one example. We have a custom external id on both Leads and Accounts which identifies a company. We want to find out which companies are on SalesForce - Accounts + Leads. Here's the query which naturally comes to my mind:
Select company_id__c From Account
Union
Select company_id__c From Lead;
No, can you give an example of how this would be useful ?
Hello.
Here is one example. We have a custom external id on both Leads and Accounts which identifies a company. We want to find out which companies are on SalesForce - Accounts + Leads. Here's the query which naturally comes to my mind:
I have to issue two separate queries instead.
Cheers!
Linas