Write SQL to analyze claim or operational data and summarize key metrics by business unit or time period.
Using the supplied claims and business_units tables, summarize records dated in 2025 by business unit and calendar month. Include claims whose business unit is not found in the reference table.
business_unit, claim_month, claim_count, total_incurred, and avg_processing_daysbusiness_unit, then claim_month| Column | Type | Description |
|---|---|---|
| claim_idPK | INT | Unique claim identifier |
| business_unit_id | INT | Reference to the responsible business unit |
| claim_date | DATE | Date the claim was recorded |
| incurred_amount | NUMERIC(12,2) | Amount incurred for the claim |
| processing_days | INT | Number of days used to process the claim |
| Column | Type | Description |
|---|---|---|
| unit_idPK | INT | Unique business unit identifier |
| unit_name | VARCHAR(100) | Business unit name |