Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.
select*from dbo.books where isbn IN(select isbn from dbo.lending where(act between@fdateand@tdate)and(stat ='close'))