How would you structure a simple SQL query to retrieve, filter, and join data across relational database tables?
Use the tables provided in the schema to return the requested result set. Keep the query straightforward and make sure it only includes the rows that satisfy the stated filters.
| Column | Type | Description |
|---|---|---|
| customer_idPK | INT | Unique customer identifier |
| customer_name | VARCHAR(100) | Customer full name |
| state | VARCHAR(2) | Customer state code |
| Column | Type | Description |
|---|---|---|
| order_idPK | INT | Unique order identifier |
| customer_id | INT | References customers.customer_id |
| order_date | DATE | Date the order was placed |
| status | VARCHAR(20) | Order status |
| Column | Type | Description |
|---|---|---|
| policy_idPK | INT | Unique policy identifier |
| customer_id | INT | References customers.customer_id |
| policy_number | VARCHAR(20) | Policy number |
| policy_type | VARCHAR(30) | Type of insurance policy |