Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Challenge: Filter Top Sales | Aggregations for KPIs
SQL for Business Intelligence Analysts

bookChallenge: Filter Top Sales

Tâche

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

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 6
single

single

Demandez à l'IA

expand

Demandez à l'IA

ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

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

Glissez pour afficher le menu

Tâche

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 desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 6
single

single

some-alt