这样的语句需要优化:select distinct s.* from t_client s,t_consign g,t_chargmx c where g.运编号=c.运编号 and g.揽货人='IC01' and g.开期日期 between '2003-01-28' and '2003-04-28' and c.支付方式='预付' and c.收付类别='应付' and s.客户代码=c.结算单位
  
or:select * from t_client s where exists (select 1 from t_consign g,t_chargmx c where g.运编号=c.运编号 and g.揽货人='IC01' and g.开期日期 between '2003-01-28' and '2003-04-28' and c.支付方式='预付' and c.收付类别='应付' and s.客户代码=c.结算单位)