Your question is SQL Query for Seller Orders. 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.
Deliverr needs a seller-level order count for operational reporting. Write a PostgreSQL query that returns every seller and the number of orders associated with that seller in Deliverr.
0.seller_id ascending.| Column | Type | Description |
|---|---|---|
| seller_idPK | INTEGER | Unique seller identifier |
| seller_name | VARCHAR(150) | Seller display name |
| Column | Type | Description |
|---|---|---|
| order_idPK | BIGINT | Unique Deliverr order identifier |
| seller_id | INTEGER | Seller associated with the order |
| order_date | DATE | Date the order was created |