Aircall wants to review the longest calls handled for each customer account during a reporting month. Write a SQL query to return each account's three longest calls during September 2026.
account_id, account_name, call_id, started_at, duration_seconds, and call_rankcall_id breaks duration tiesaccount_id, then call_rank| Column | Type | Description |
|---|---|---|
| account_idPK | INT | Unique Aircall customer account identifier |
| account_name | VARCHAR(120) | Customer account display name |
| Column | Type | Description |
|---|---|---|
| call_idPK | INT | Unique call identifier |
| account_id | INT | Customer account associated with the call |
| started_at | TIMESTAMPTZ | Call start timestamp |
| duration_seconds | INT | Call duration in seconds |