Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge: Filter Top Sales | Aggregations for KPIs
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
SQL for Business Intelligence Analysts

bookChallenge: Filter Top Sales

Oppgave

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.

Løsning

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 1. Kapittel 6
single

single

Spør AI

expand

Spør AI

ChatGPT

Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår

Suggested prompts:

Can you explain this in simpler terms?

What are the main points I should remember?

Can you give me an example?

close

bookChallenge: Filter Top Sales

Sveip for å vise menyen

Oppgave

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.

Løsning

Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 1. Kapittel 6
single

single

some-alt