SQL Practice

Aggregate functions

Summarise rows with COUNT, AVG, MIN, MAX, and SUM.

  1. 01Count patients

    Return the total number of patients in one row.

    easy
  2. 02Average doctor salary

    Calculate the average doctor salary.

    easy
  3. 03Shortest and tallest patients

    Return the minimum and maximum patient height.

    easy
  4. 04Total salary budget

    Calculate the sum of all doctor salaries.

    easy
← All practice topics