所以我有我想通过zend框架调用的原始SQLselectt.type,t.tid,t.tname,t.cid,t.cname,ls.*from(selectt.type,t.idastid,t.nameastname,c.idascid,c.nameascnamefromteamtjoincompanycont.parent=c.idandt.type='C'andc.sector=20andt.status='ACTIVE'unionselectt.type,t.idastid,t.nameastname,nullascid,nullascnamefromteamtjoinsecto