Your question is Explain SQL Joins. Start with the requirements and the two tables on the right.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.
Explain what SQL is and how joins work.
For the hands-on portion, write a query that returns every customer with their order count and total order value, including customers who have no orders.
customer_id, customer_name, order_count, and total_order_valuecustomer_id ascending| Column | Type | Description |
|---|---|---|
| customer_idPK | INT | Unique customer identifier |
| customer_name | VARCHAR(100) | Customer display name |
| Column | Type | Description |
|---|---|---|
| order_idPK | INT | Unique order identifier |
| customer_id | INT | Customer associated with the order |
| order_total | NUMERIC(10,2) | Total value of the order |