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
Mamatha MasterMamatha Master 

getting contact and account information at a time

Hi,
 
How can we get all contact and its accout name usinf a single query using API
I tried but its giving mailformed_query error
 
Can any one please help me
 
thanks
Mamatha
SuperfellSuperfell
See the SOQL docs, there's examples for this. Try select firstname, lastname, account.name from contact.