Basic Retreival Queries in SQL
Basic Retreival Queries in SQL
Q8. For each employee , retreive the employees first and last name
and the first and last name of his or her immediate supervisor.
SELECT E.Fname, E.Lname, S.Fname, S.Lname
FROM EMPLOYEE AS E, EMPLOYEE AS S
WHERE E.Super_ssn= S.ssn;