Challenge: Customer Signup Years
Opgave
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 alt klart?
Tak for dine kommentarer!
Sektion 4. Kapitel 6
single
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat
Suggested prompts:
Can you explain this in simpler terms?
What are the main points I should remember?
Can you give me an example?
Fantastisk!
Completion rate forbedret til 5.56
Challenge: Customer Signup Years
Stryg for at vise menuen
Opgave
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 alt klart?
Tak for dine kommentarer!
Sektion 4. Kapitel 6
single