select
  (select sum(b.某一字段) from a,b where a.一个字段=b.一个字段) as 某一字段,
  (select sum(c.一字段) from c,d where ...) as 一字段--貌似好多没说清楚

解决方案 »

  1.   

    我的意思是通过a的一个字段过滤出b表中的数据,再通过过滤出来的b表的数据,过滤出c表的数据。
      

  2.   

    select sum (c.某一字段) from c where exists(select (b.某一字段) from b where exists(select (a.某一字段)from a))
      

  3.   

    select sum (c.某一字段) from c where exists(select sum(b.某一字段) from b where exists(select (a.某一字段)from a))