• Venkatesh Battini 9
  • NEWBIE
  • 10 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 4
    Replies
Hello,
If I write the follwing SOQL querry in QUERRY EDITOR I am getting exact results(ID of Contact, Name of Contact and Name of Parent Account)
 
Note: We already know that Account is Parent of Contact
SELECT Id, Name, Account.name FROM Contact

If I execute same querry in Execute Anonymous window instead of  Name of Parent Account I am getting Parent Account Id.

Why I am getting like that will any one of you explain me and what should I do to get Name of Parent Account.
Thank you in advance.
Hello,
If I write the follwing SOQL querry in QUERRY EDITOR I am getting exact results(ID of Contact, Name of Contact and Name of Parent Account)
 
Note: We already know that Account is Parent of Contact
SELECT Id, Name, Account.name FROM Contact

If I execute same querry in Execute Anonymous window instead of  Name of Parent Account I am getting Parent Account Id.

Why I am getting like that will any one of you explain me and what should I do to get Name of Parent Account.
Thank you in advance.
Hello,
If I write the follwing SOQL querry in QUERRY EDITOR I am getting exact results(ID of Contact, Name of Contact and Name of Parent Account)
 
Note: We already know that Account is Parent of Contact
SELECT Id, Name, Account.name FROM Contact

If I execute same querry in Execute Anonymous window instead of  Name of Parent Account I am getting Parent Account Id.

Why I am getting like that will any one of you explain me and what should I do to get Name of Parent Account.
Thank you in advance.