0
請告訴我如何在ZEND中編寫此查詢。Zend中的嵌套查詢
Query= select p.project_id,paw.project_name
from lifecycle l,project_delivery_center pdc,project p,
(select distinct project_id,max(lifecycle_id) as lifecycle_id from project_lifecycle group by project_id) npl,project_after_win paw
where p.project_id=npl.project_id and p.project_id=paw.project_id and npl.lifecycle_id=l.lifecycle_id and l.phase_id>=3 and pdc.project_id=p.project_id and pdc.delivery_center_id=".$_SESSION['dcId']." order by paw.project_name
與Zend你將怎麼做? 有很多方法可以在zend中創建查詢: $ DB->查詢($ QUERY_STRING); – redmoon7777 2012-01-02 09:28:07
只是想構建這個查詢 – Arnab 2012-01-02 10:02:08