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

MIN and MAX

What do the MIN and MAX functions return?

Answer options

  • Both return the average value of the column
  • MIN counts rows, and MAX sums them
  • Both return the number of unique values
  • MIN returns the smallest value, and MAX the largest value in a column

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