Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge: Daily Sales Summary | Aggregating and Grouping Data
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
SQL for Data Analysis

bookChallenge: Daily Sales Summary

Task

Swipe to start coding

Write a query to summarize sales activity by day and identify busy sales days.

  • Group sales records by the sale_date column.
  • Count the number of sales for each day.
  • Return only those days where the number of sales is greater than 2.

Solution

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 2. ChapterΒ 4
single

single

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

Suggested prompts:

Can you explain that in simpler terms?

What are the main benefits of this approach?

Are there any common mistakes to avoid with this?

close

bookChallenge: Daily Sales Summary

Swipe to show menu

Task

Swipe to start coding

Write a query to summarize sales activity by day and identify busy sales days.

  • Group sales records by the sale_date column.
  • Count the number of sales for each day.
  • Return only those days where the number of sales is greater than 2.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 2. ChapterΒ 4
single

single

some-alt