Seção 3. Capítulo 4
single
Challenge: City-Based Sales Analysis
Deslize para mostrar o menu
Tarefa
Deslize para começar a programar
You have two tables: sales and customers.
sales — records of each individual sale:
customers — information about customers:
Write a query that shows how many sales were made in each city. To do this:
- Join
salesandcustomerson thecustomer_idcolumn. - Group the result by
city. - For each city, count the number of sales using
COUNT()and name the columnsales_count.
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