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

bookChallenge: Above-Average Customers

Aufgabe

Swipe to start coding

Write a query using a subquery to find customers with total quantity purchased greater than the average quantity purchased.

  • Calculate the total quantity purchased by each customer.
  • Calculate the average total quantity purchased across all customers.
  • Select only those customers whose total quantity purchased is greater than this average.
  • Return the customer ID, first name, last name, and total quantity purchased for each qualifying customer.

Lösung

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

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

close

bookChallenge: Above-Average Customers

Swipe um das Menü anzuzeigen

Aufgabe

Swipe to start coding

Write a query using a subquery to find customers with total quantity purchased greater than the average quantity purchased.

  • Calculate the total quantity purchased by each customer.
  • Calculate the average total quantity purchased across all customers.
  • Select only those customers whose total quantity purchased is greater than this average.
  • Return the customer ID, first name, last name, and total quantity purchased for each qualifying customer.

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

single

some-alt