Using Aggregate Functions
  • Description: Learn to use aggregate functions like COUNT, SUM, AVG, MIN, and MAX for basic calculations. Calculate the total and average salary of all employees
  • Table Used: employees
    • Columns: employee_id, first_name, last_name, department, salary
  • Expected Columns Returned: total_salary, average_salary
  • Schema:
classDiagram direction BT class Employees { integer employee_id text first_name text last_name text department float salary }

select * from employees