Challenge: Customer Signup Years
Task
Swipe to start coding
Write a query to analyze customer signups by year. Your goal is to group customers by the year of the signup_date and count the number of signups for each year.
- Extract the year from the
signup_datecolumn. - Group the customers by the extracted year.
- Count the number of customers who signed up in each year.
- Return the signup year and the corresponding signup count for each group.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 4. ChapterΒ 6
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: Customer Signup Years
Swipe to show menu
Task
Swipe to start coding
Write a query to analyze customer signups by year. Your goal is to group customers by the year of the signup_date and count the number of signups for each year.
- Extract the year from the
signup_datecolumn. - Group the customers by the extracted year.
- Count the number of customers who signed up in each year.
- Return the signup year and the corresponding signup count for each group.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 4. ChapterΒ 6
single