Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Challenge: High-Volume Customers | Aggregating and Grouping Data
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
SQL for Data Analysis

bookChallenge: High-Volume Customers

Aufgabe

Swipe to start coding

Write a query to list the customer_id and the total quantity purchased for each customer, but only include those customers whose total quantity purchased is greater than 5.

  • Select the customer_id and the sum of quantity as total_quantity from the sales table.
  • Group the results by customer_id.
  • Only include customers whose total quantity purchased is greater than 5.

Lösung

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 2. Kapitel 3
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?

Can you give me an example?

What are the next steps I should take?

close

bookChallenge: High-Volume Customers

Swipe um das Menü anzuzeigen

Aufgabe

Swipe to start coding

Write a query to list the customer_id and the total quantity purchased for each customer, but only include those customers whose total quantity purchased is greater than 5.

  • Select the customer_id and the sum of quantity as total_quantity from the sales table.
  • Group the results by customer_id.
  • Only include customers whose total quantity purchased is greater than 5.

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 2. Kapitel 3
single

single

some-alt