What is your experience level about Python and SQL?
For the SQL portion, write a query using the provided customer and order data. Return customers who have at least two completed orders, including their completed order count, completed revenue, and a spending segment.
customer_id, customer_name, completed_order_count, completed_revenue, and spending_segment.priority; classify all others as standard.| Column | Type | Description |
|---|---|---|
| customer_idPK | INT | Unique customer identifier |
| customer_name | VARCHAR(100) | Customer name |
| Column | Type | Description |
|---|---|---|
| order_idPK | INT | Unique order identifier |
| customer_id | INT | Customer associated with the order |
| status | VARCHAR(20) | Order status |
| amount | NUMERIC(10,2) | Order amount |