Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge: Filter Top Sales | Aggregations for KPIs
SQL for Business Intelligence Analysts
SectionΒ 1. ChapterΒ 6
single

single

bookChallenge: Filter Top Sales

Swipe to show menu

Task

Swipe to start coding

Write an SQL query to find all product categories where the total sales amount is greater than 150.

  • Group the sales data by product category.
  • Calculate the total sales amount for each category.
  • Use the HAVING clause to return only those categories where the total sales amount exceeds 150.
  • Your result should include the product category and the total sales amount for each qualifying category.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 1. ChapterΒ 6
single

single

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

some-alt