菜鸟提问,能否帮改造下SQL原SQL如下, 性能太差鸟 select AAAA.id 
  from AAAA
 where  (select sum(BBBB.percent) from BBBB
 where AAAA.id=BBBB.AAAA_id )<100