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
Software EngineSoftware Engine 

Need help in writing a typical query

 
 
HI ,
 
Can you help me in writing a  single query from Five tables by following the parent,child relationships.
 
Table Name          Column
----------------          -----------
Account                 AccountName
Contact                  FirstName
Campaign              CampaignCode
Opportunity            CloseDate
User                         RepID
 
 
I am done upto three ables
 
    select a.AccountName,(select FirstName from Contact),(Select CampaignCode from Campaign) from Account a.
 
 
 
 
 
Thanks,