+ Start a Discussion

Unable to fetch the specified filed values of cases (related object details)

When tried from query editor able to fetch the records..
but when I sent  below query as dynamic query into start method of batch, and when i debug the records of Scope..not able to fetch the Account details ..only id,reason filed values able to fetch... how to fetch related object values dynamically when i pass this query into start mehtod
select id,account.name,account.id ,reason from case