home *** CD-ROM | disk | FTP | other *** search
- *****************************************************************
- * * 09/92 SALESMAN.PRG *
- *****************************************************************
- * * Author's Name: Jeb Long *
- * * *
- * * Description: *
- * * This program illustrates how to use the SQL SELECT *
- * * command using a filter that displays "Salesmen" that *
- * * make more than a company vice president. *
- *****************************************************************
- SELECT * FROM Employee e ;
- WHERE e.position = 'Salesman' AND ;
- e.salary > ALL (SELECT f.salary FROM Employee f;
- WHERE f.position = 'VP')