function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Rajiv KocherlaRajiv Kocherla 

Issues with using User Role

1. write a query to fetch all the phone numbers of accounts in a list
2.write a soql query to fetch all contacts whose phonenumber is in the  above list
AbhishekAbhishek (Salesforce Developers) 
Your query is answered here,

https://salesforce.stackexchange.com/questions/100518/how-to-soql-query-contacts-by-phone-number-when-there-are-more-than-100-000-cont

https://salesforce.stackexchange.com/questions/129169/soql-to-retrieve-all-contacts-for-an-account-related-and-direct

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future.

Thanks.