What does SUM(salary) return when used in a query?

SQL Fundamentals Easy

SQL Fundamentals — Easy

What does SUM(salary) return when used in a query?

Key points

  • SUM(salary) calculates the sum of all salary values
  • It does not calculate the average or highest salary
  • It does not return the number of salary records

Ready to go further?

Related questions