(i) List an actor if there exists a movie featuring the actor and featuring Al Pacino. (ii) List an actor if exists (intersect (set of movies featuring the actor), (set of movies featuring Al Pacino) )
Consider using primary-key foreign-key joins to relate supervisors and subordinates. You may use abstract relational algebra syntax or SQL syntax for the answer. SQL syntax for self-joins are illustrated by Examples 3.35 and 3.36 in section 3.5.3. These example show pairing of supervisor with direct sub-ordinates. You may need to join the result again with one of the base table to get second level sub-ordinates.