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