Find average of employee salaries
SELECT AVG(salary) from employee;
Find average salaray of male employees
SELECT AVG(salary) from employee where sex = 'M';