Yurttas/PL/DBL/mysql/F/01/00/Company-B/q07.sql
1/*
2REM
3REM q07.sql
4REM
5REM Find all employees who earn more than every employee of
6REM 'Small Bank Corporation'.
7REM
8*/
9
10\. set-db.sql
11
12SELECT employeename
13FROM Works
14WHERE salary > ALL (SELECT salary
15 FROM Works
16 WHERE companyname='Small Bank Corporation');