Huntington's Data Analytics team needs a segment-level view of customer activity for the first half of 2025. Write a PostgreSQL query that reports metrics for every Huntington customer segment, including segments with no assigned customers or no qualifying transactions.
| Column | Type | Description |
|---|---|---|
| segment_idPK | INT | Unique customer segment identifier |
| segment_name | VARCHAR(50) | Huntington customer segment name |
| Column | Type | Description |
|---|---|---|
| customer_idPK | INT | Unique customer identifier |
| customer_name | VARCHAR(100) | Customer full name |
| segment_id | INT | Assigned customer segment |
| Column | Type | Description |
|---|---|---|
| transaction_idPK | INT | Unique transaction identifier |
| customer_id | INT | Customer associated with the transaction |
| transaction_type | VARCHAR(30) | Transaction classification |
| amount | DECIMAL(12,2) | Transaction amount |
| transaction_date | DATE | Date the transaction occurred |