select a.aid,a.atitle,
(select count(bid) from b where b.aid=a.aid) as bnumber,
(select count(cid) from c where c.aid=a.aid) as cnumber
from a
或者
select a.aid, a.atitle, bb.bcnt, cc.ccnt from a,
(select aid, count(bid) as bcnt from b group by aid) bb,
(select aid, count(cid) as ccnt from c group by aid) cc where a.aid=bb.aid and a.aid=cc.aid
select a.aid,a.atitle,
(select count(id) from tableb b where b.aid=a.id) as bnumber,
(select count(id) from tablec c where c.aid=a.id) as cnumber
from tablea a