Yurttas/PL/DBL/postgres/F/01/Company-A/q08.sql

 1/*
 2REM
 3REM q08.sql
 4REM
 5REM Retrieve the average salary of all female employees.
 6REM
 7*/
 8
 9SELECT current_schema();
10SET search_path to "companya";
11
12SELECT AVG(salary)
13FROM Employee
14WHERE sex = 'F';