Analyze Monthly Customer Transactions
Premium
In this mock SQL interview, Angie asks Raj (Adobe Data Scientist) to pull customer and transaction data at an e-commerce company. They discuss window functions, aggregations, and indexing in SQL.
Raj answers the following interview SQL questions:
- Write a query to report the number of users, number of transactions placed, and total order amount per month in the year 2020.
- Modify the query to report for multiple years.
- Write a query to print user's name, who ordered the most in the entire history.