select a.sbrq from a,
              (select jh, lch, max(b.gzd) gzd  from b group by lch,jh) d,
              (select lch, max(c.gzd) gzd   from c group by lch) e
where a.jh=d.jh 
  and d.lch=e.lch 
  and d.gzd=e.gzd