select z.city,
       z.cityid,
       z.area,
       z.areaid,
       z.jiedao,
       z.streetid,
       z.juwei,
       z.juweiid,
       z.dwjb,
       info.msgidgroup,
       info.wdatetime,
       info.msginfo,
       info.dwid,
       detail.statuesdetail,
       detail.senddatetime
  from t_yxt_zhdw z, sms_msginfo info, sms_msginfodetail detail
 where z.juweiid = info.dwid加上条件后就会执行不了,不用条件可以查询出来,知道的高手帮下忙啊,小弟这里先谢谢了