把as去掉;SELECT a.YWID,a.PSTIME,a.PETIME,a.DID,a.PID,a.DSTIME,a.DETIME,b.NUMFROM DWJF_ZC a INNER JOIN COUNT_NUM b ON a.YWID=b.YWID;