write a coding exam for data engineers
- User
write a coding exam for data engineers
- Assistant
Here is a coding exam for data engineers:
Question 1: You have a dataset containing customer information, including their name, email, purchase history, and order date. Write a SQL query to find the total number of orders made by each customer.
Question 2: You have a dataset containing website traffic data, including the date, time, and page visited. Write a SQL query to find the most popular page visited by users during a specific time period.
Question 3: You have a dataset containing sales data, including the product name, price, and quantity sold. Write a SQL query to find the total revenue generated by each product.
Question 4: You have a dataset containing customer information, including their name, email, and address. Write a SQL query to find the number of unique customers who live in a specific city.
Question 5: You have a dataset containing website traffic data, including the date, time, and user agent. Write a SQL query to find the number of unique user agents that accessed the website during a specific time period.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.