Challenge: Customer Signup Years
Uppgift
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.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 4. Kapitel 6
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Fantastiskt!
Completion betyg förbättrat till 5.56
Challenge: Customer Signup Years
Svep för att visa menyn
Uppgift
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.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 4. Kapitel 6
single