Write an aggregate query for data used in AIG Claims reporting.
Using the claims table, summarize claim records by claim_status. Include records with a missing status and treat missing claim amounts as zero when calculating totals.
claim_status, claim_count, and total_claim_amount.| Column | Type | Description |
|---|---|---|
| claim_idPK | INT | Unique claim identifier |
| claim_status | VARCHAR(30) | Current claim status |
| claim_amount | NUMERIC(12,2) | Claimed monetary amount |