What does AVG(salary) return?

SQL Data Analyst Easy

SQL Data Analyst — Easy

What does AVG(salary) return?

Key points

  • AVG(salary) calculates the average, not the total or highest value.
  • It considers only non-NULL values for the calculation.
  • The result is the sum of all salaries divided by the count of non-NULL entries.

Ready to go further?

Related questions