從
(select a.typeid,count(*)count 1 from book table a,借閱表b其中a . bookid = b . bookid group by a . typeid)t 1,
(從借用表中選擇count(*)count 2)T2