Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Challenge: City-Based Sales Analysis | Joining Tables for Richer Analysis
SQL for Data Analysis

bookChallenge: 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 sales and customers tables using the customer_id column.
  • Group the results by the city column from the customers table.
  • Count the number of sales for each city.

Solução

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 3. Capítulo 4
single

single

Pergunte à IA

expand

Pergunte à IA

ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

close

bookChallenge: 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 sales and customers tables using the customer_id column.
  • Group the results by the city column from the customers table.
  • Count the number of sales for each city.

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 3. Capítulo 4
single

single

some-alt