Challenge: City-Based Sales Analysis
Tarefa
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.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 3. Capítulo 4
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Incrível!
Completion taxa melhorada para 5.56
Challenge: City-Based Sales Analysis
Deslize para mostrar o menu
Tarefa
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.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 3. Capítulo 4
single