Challenge: Customer Signup Years
Oppgave
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
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 4. Kapittel 6
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Fantastisk!
Completion rate forbedret til 5.56
Challenge: Customer Signup Years
Sveip for å vise menyen
Oppgave
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
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 4. Kapittel 6
single