Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Challenge: High-Volume Customers | Aggregating and Grouping Data
SQL for Data Analysis

bookChallenge: High-Volume Customers

Завдання

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.

Рішення

Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 2. Розділ 3
single

single

Запитати АІ

expand

Запитати АІ

ChatGPT

Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат

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 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.

Рішення

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 2. Розділ 3
single

single

some-alt