SQLDAXExcelPython
LeaderboardRunLifetime
Interview classicsHard30 points

Top three in each group

Return Category, ProductName and total Amount for the three highest-revenue products in each category.

Hard questions are part of Lifetime and Pro. Read it here, and unlock running and checking your answer from the plans.

Show solutionLifetime

Runs in your browser with DuckDB, whose SQL is close to PostgreSQL. Nothing you type is sent to a server unless you save a score.

SQLselect text to run only that part
Loading editor…

Press Ctrl+Enter or Run to see the result here.