Guest User

Untitled

a guest
Jul 22nd, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. select p.PID,count(p.pid)
  2. from person p join movie m on(p.pid=m.DID)
  3. group by p.pid
  4. having count(p.pid)=(
  5. select count(distinct genre.GID)
  6. from genre
  7. )
Add Comment
Please, Sign In to add comment