Shopify
Interview Core Track · Hard · 35 min
Running Spend by Product Line
For each product_line, return the cumulative revenue by order_date. Output order_date, product_line, and cumulative_revenue. Sort by product_line and order_d...
Company labels are directional practice context, not official interview guidance.
Objective
Practice query basics through a Shopify-tagged business scenario.
Approach
Use this track to improve speed, edge-case handling, and accuracy under timed conditions.
Company context
Company labels are directional practice context, not official interview guidance.
For each product_line, return the cumulative revenue by order_date. Output order_date, product_line, and cumulative_revenue. Sort by product_line and order_date.
This is a Pro question
Upgrade to Pro to unlock this prompt, the SQL workspace, and all 254 problems.
Upgrade to Pro — unlock all 254 problemsSQL workspace
Run queries against the protected question data, then submit once the result shape looks right.
Sign in to run SQL
Create a free account or sign in before running queries against protected question data.