In your query, accountName is nothing but alias of inner query (SELECT FirstName FROM Contacts). The column which contains deatails of all related contact is accountName.
If you want to fetch name of account in your query, you need to add 'Name' field in your query. There is no standard field on account with the API as accountname. In this case, your query will be:
SELECT (SELECT FirstName FROM Contacts), Name, Industry, Rating FROM Account
-Thanks, TK
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.
In your query, accountName is nothing but alias of inner query (SELECT FirstName FROM Contacts). The column which contains deatails of all related contact is accountName.
If you want to fetch name of account in your query, you need to add 'Name' field in your query. There is no standard field on account with the API as accountname. In this case, your query will be:
SELECT (SELECT FirstName FROM Contacts), Name, Industry, Rating FROM Account
-Thanks, TK
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.
In your query, accountName is nothing but alias of inner query (SELECT FirstName FROM Contacts). The column which contains deatails of all related contact is accountName.
If you want to fetch name of account in your query, you need to add 'Name' field in your query. There is no standard field on account with the API as accountname.
In this case, your query will be:
-Thanks,
TK
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.
All Answers
In your query, accountName is nothing but alias of inner query (SELECT FirstName FROM Contacts). The column which contains deatails of all related contact is accountName.
If you want to fetch name of account in your query, you need to add 'Name' field in your query. There is no standard field on account with the API as accountname.
In this case, your query will be:
-Thanks,
TK
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.