Challenge: Filter Top Sales
Tarefa
Swipe to start coding
Write an SQL query to find all product categories where the total sales amount is greater than 150.
- Group the sales data by product category.
- Calculate the total sales amount for each category.
- Use the HAVING clause to return only those categories where the total sales amount exceeds 150.
- Your result should include the product category and the total sales amount for each qualifying category.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 1. Capítulo 6
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: Filter Top Sales
Deslize para mostrar o menu
Tarefa
Swipe to start coding
Write an SQL query to find all product categories where the total sales amount is greater than 150.
- Group the sales data by product category.
- Calculate the total sales amount for each category.
- Use the HAVING clause to return only those categories where the total sales amount exceeds 150.
- Your result should include the product category and the total sales amount for each qualifying category.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 1. Capítulo 6
single