+ 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