MCQ Practice Single Best Answer Topic: Aggregation functions - MySQL

Q Which aggregation function in MySQL returns the average value of a numeric column?

Question ID
#15496
Subchapter
Aggregation functions - MySQL
Action
Choose one option below

Choose Your Answer

Click an option to check whether your answer is correct.

  • A AVG
  • B SUM
  • C COUNT
  • D MIN
Correct Answer: A

Explanation

The AVG function in MySQL is used to calculate the average value of a numeric column. It sums up all the values in the column and divides the sum by the number of rows.

Share This Question

Share this MCQ with your friends or study group.