What does SUM(quantity) return in a GROUP BY query per group?

SQL Data Analyst Easy

SQL Data Analyst — Easy

What does SUM(quantity) return in a GROUP BY query per group?

Key points

  • SUM(quantity) calculates the total within each group
  • Each group's total is calculated independently
  • It does not give the average, count, or maximum value

Ready to go further?

Related questions