• and b.author_id = a.author_id: The inner query selects from book. Find books whose author_id matches the author_id of the author from the containing query.

  • exists: The outer query selects authors when the inner query has any qualifying row.