select t1.借书证号 from (select count(*) as num,k.借书证号 from (select a.* from R-B a inner join (select 登陆号 from R-B where 借书证号=14002) b on a.登陆号=b.登陆号) k group by k.借书证号) t1 inner join ( select count(*) as num from R-B where 借书证号=14002) t2 on t1.num=t2.num