Write a SQL query to identify policyholders who have multiple active policies across different product lines.
Use the policyholders and policies tables. Treat policies with status Active as active.
policyholder_id, policyholder_name, active_policy_count, and product_lines.policyholder_id ascending.| Column | Type | Description |
|---|---|---|
| policyholder_idPK | INT | Unique identifier for the policyholder |
| policyholder_name | VARCHAR(100) | Full name of the policyholder |
| VARCHAR(150) | Policyholder email address |
| Column | Type | Description |
|---|---|---|
| policy_idPK | INT | Unique identifier for the policy |
| policyholder_id | INT | Policyholder associated with the policy |
| product_line | VARCHAR(80) | Insurance product line for the policy |
| status | VARCHAR(20) | Current policy status |
| effective_date | DATE | Date coverage became effective |
| expiration_date | DATE | Date coverage expires |