Modules
Data Analyst
Data Engineer
Product Data Scientist
AI Engineer
Machine Learning Engineer
Prompt Engineer
Find the names and the total spend of the top 3 spenders in the Electronics category
To answer this, you will need 3 tables: customers, orders, and products:
customers: This table contains information about each customer.
| Column Name | Description |
|---|---|
| customer_id | Unique identifier for a customer |
| name | The customer's full name |
| The customer's email address |
orders: This table tracks each order placed by customers.
| Column Name |
|---|
| order_id | Unique identifier for an order |
| customer_id | ID of the customer who placed the order |
| product_id | ID of the product ordered |
| order_date | Date when the order was placed |
products: This table lists details of products available for purchase.
| Column Name | Description |
|---|---|
| product_id | Unique identifier for a product |
| product_name | Name of the product |
| category | Category of the product |
| price | Price of the product |
| name | total_spend |
|---|---|
| Stan Watson | 129.9 |
| Karm Tez | 89.9 |
| Will Dinal | 79.91 |
Find the names and the total spend of the top 3 spenders in the Electronics category
To answer this, you will need 3 tables: customers, orders, and products:
customers: This table contains information about each customer.
| Column Name | Description |
|---|---|
| customer_id | Unique identifier for a customer |
| name | The customer's full name |
| The customer's email address |
orders: This table tracks each order placed by customers.
| Column Name | Description |
|---|---|
| order_id | Unique identifier for an order |
| customer_id | ID of the customer who placed the order |
| product_id | ID of the product ordered |
| order_date | Date when the order was placed |
products: This table lists details of products available for purchase.
| Column Name | Description |
|---|---|
| product_id | Unique identifier for a product |
| product_name | Name of the product |
| category | Category of the product |
| price | Price of the product |
| name | total_spend |
|---|---|
| Stan Watson | 129.9 |
| Karm Tez | 89.9 |
| Will Dinal | 79.91 |