2011-02-07 14 views

答えて

0

たぶんthis answerあなたはstandard sql querieszf-made onesを使用しての間で決めるのに役立ちます。

私はZend_Db_Selectを複雑で稀にしか使用されないクエリに使用することはお勧めしません。

1
// create the main query 
$select = new Zend_Db_Select(); 

//create the subquery 
$subSelect = new Zend_Db_Select(); 

// using the subquery in main query 
$select->where('table.field IN(?)', $subSelect->assemble()); 
関連する問題