Loading...

Regional Sales Growth QoQ

A hard SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.

Domain
SQL
Difficulty
hard
Seniority
mid

Problem

Compare total transaction amounts in Q4 vs Q3 to compute quarter-over-quarter revenue growth by region. Growth is ((Q4 total minus Q3 total) / Q3 total) * 100. Only include regions with sales in both quarters. Return the region and growth percentage.

Practice This Problem

Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a live PostgreSQL database and grades it instantly.