Development questions

Write a SOQL query on Contact to fetch the Contact's Name and its parent Account's Name and Industry (Child-to-Parent).

Use dot notation from the Contact to its parent Account to read parent fields in the same query, with no join needed.

soql
SELECT Id, Name, Account.Name, Account.Industry FROM Contact

Contacts without an Account still appear, with null parent values.

soqlscenariochild-to-parent