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

bookChallenge: Filter Top Sales

Aufgabe

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ösung

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 6
single

single

Fragen Sie AI

expand

Fragen Sie AI

ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

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

Swipe um das Menü anzuzeigen

Aufgabe

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ösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 6
single

single

some-alt