Question · SQL and MySQL course · Module 6: Aggregation and grouping

Function computing the average

Which aggregate function computes the average value of a column?

Answer options

  • SUM(cena)
  • AVG(cena)
  • COUNT(*)
  • MAX(cena)

You can check the correct answer by solving this task in the CodeWorlds game.