SQLDAXExcelPython
Leaderboard
Group and aggregateEasy10 points

Average price by category

For each Category in Products, return the category and its average UnitPrice, rounded to 2 decimals.

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.