Yurttas/PL/DBL/oracle/F/01/Company-A/q02.sql
1REM
2REM q02.sql
3REM
4REM List the names of employees who have a dependent with
5REM the same first name as themselves.
6REM
7
8SELECT DISTINCT fname, minit, lname
9FROM Employee, Dependent
10WHERE ssn = essn
11 AND dependentname = fname;