Difference between revisions of "Yurttas/PL/DBL/mysql/F/01/00/Company-A/q03.sql"
Jump to navigation
Jump to search
(Created page with "<syntaxhighlight lang="sql" line start="1" enclose="div">→REM REM q03.sql REM REM Find the names of employees who are directly supervised REM by 'Franklin Wong'. REM: \. ...") |
(No difference)
|
Latest revision as of 16:16, 3 November 2013
1/*
2REM
3REM q03.sql
4REM
5REM Find the names of employees who are directly supervised
6REM by 'Franklin Wong'.
7REM
8*/
9
10\. set-db.sql
11
12SELECT DISTINCT E1.fname, E1.minit, E1.lname
13FROM Employee E1, Employee E2
14WHERE E1.superssn = E2.ssn
15 AND E2.fname = 'Franklin'
16 AND E2.lname = 'Wong';