三表连接
SELECT a.ZDID,a.ZDname,a.ZDIP,a.Remark,b.eventtime,c.checkTime from (ZDList as a
left join ZDEvents as b on a.zdid=b.zdid )
left join ZDcheckchangerecord_old as c on a.zdid=c.zdid
三表连接
SELECT a.ZDID,a.ZDname,a.ZDIP,a.Remark,b.eventtime,c.checkTime from (ZDList as a
left join ZDEvents as b on a.zdid=b.zdid )
left join ZDcheckchangerecord_old as c on a.zdid=c.zdid