Challenge: Total Sales Calculation
Task
Swipe to start coding
Write a query to calculate sales summary metrics using the sales table.
- Count the total number of sales records.
- Calculate the sum of the
quantitycolumn for all sales records.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 2. ChapterΒ 1
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Suggested prompts:
Can you explain this in simpler terms?
What are the main points I should remember?
Can you give me an example?
Awesome!
Completion rate improved to 5.56
Challenge: Total Sales Calculation
Swipe to show menu
Task
Swipe to start coding
Write a query to calculate sales summary metrics using the sales table.
- Count the total number of sales records.
- Calculate the sum of the
quantitycolumn for all sales records.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 2. ChapterΒ 1
single