Write a SQL query that returns the account name and the number of contacts associated with it, and include the names of accounts with no contacts.
Use the provided account, contact, and account-contact association tables. Count each contact once per account, even if duplicate association records exist.
account_name and contact_count.account_name ascending, with account_id as the tie-breaker.| Column | Type | Description |
|---|---|---|
| account_idPK | INT | Unique account identifier |
| account_name | VARCHAR(150) | Account name |
| Column | Type | Description |
|---|---|---|
| contact_idPK | INT | Unique contact identifier |
| first_name | VARCHAR(80) | Contact first name |
| last_name | VARCHAR(80) | Contact last name |
| VARCHAR(255) | Contact email address |
| Column | Type | Description |
|---|---|---|
| account_contact_idPK | INT | Unique association identifier |
| account_id | INT | Associated account identifier |
| contact_id | INT | Associated contact identifier |