Back to Browse

SQL Interview Question | Running Totals & Revenue Contribution

7 views
May 17, 2026
5:46

In this video, we break down a common analytics-style SQL interview question involving running totals and revenue contribution. We calculate seller-level revenue, total marketplace revenue, running cumulative revenue, and each seller’s percentage contribution to total revenue. Topics covered: • SQL Interview Preparation • GROUP BY • SUM() • Window Functions • SUM() OVER () • Running Totals • Revenue Contribution Analysis • CTEs The goal is not just to memorize the query, but to understand the pattern behind the solution. Code. Query. Crack.

Download

0 formats

No download links available.

SQL Interview Question | Running Totals & Revenue Contribution | NatokHD