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
Prafulla PatilPrafulla Patil 

Not able to get SOQL Query result in Apex

I am running following SOQL in Schema browser.. it works fine and shows results there, But I am not able to access same information in Apex when I execute it. It might be the case that I dont know how to access fields like 'Account.name, Owner.name,' in apex mentioned in this query

 

Select Account.name, Owner.name,t.CreatedBy.name,LastModifiedBy.name, LastModifiedDate, what.name,what.type   From Task t

 

please suggest