select ID
from dbo.borrow
where isbn = ALL
   (select isbn
    from dbo.borrow
    --where id='314'
	where id='384'
	)

select ID
from dbo.borrow
where isbn = ANY
   (select isbn
    from dbo.borrow
    --where id='314'
	where id='295'
	)


select isbn, id
    from dbo.borrow
   -- where id='314'
	where id='295'