一部分是EXISTS條件:Zend_Db_Select對象EXISTS我查詢
$select->where(
'EXISTS(' .
'SELECT `price_property_id` FROM `property_price` ' .
'WHERE `price_property_id` = `pu_property_id`' .
' AND `price_value` >= ' . $params['price_min'] .
' AND `price_value` <= ' . $params['price_max'] .
')'
);
它是如何寫在正確的方式在Zend框架?
這是一個可惜:(謝謝! –