Assume you are given a table for spending activity by product type which has column names as order_id, user_id, product_id, spend, date . How to write a query to calculate the cumulative spend for each product over time in chronological ...
I work at Uber and found out that for a particular week, number of drivers who signed up for the service increased by 10% and so was the increase in the number of users using the app. But, the number ...