Challenge: City-Based Sales Analysis
Tâche
Swipe to start coding
Write a query to analyze how many sales have occurred in each customer city. Your query should:
- Join the
salesandcustomerstables using thecustomer_idcolumn. - Group the results by the
citycolumn from thecustomerstable. - Count the number of sales for each city.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 3. Chapitre 4
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Suggested prompts:
Can you explain this in simpler terms?
What are the main benefits or drawbacks?
Can you give me a real-world example?
Génial!
Completion taux amélioré à 5.56
Challenge: City-Based Sales Analysis
Glissez pour afficher le menu
Tâche
Swipe to start coding
Write a query to analyze how many sales have occurred in each customer city. Your query should:
- Join the
salesandcustomerstables using thecustomer_idcolumn. - Group the results by the
citycolumn from thecustomerstable. - Count the number of sales for each city.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 3. Chapitre 4
single