阅读背景:

为什么列别名在学说中不起作用?

来源:互联网 

My script is like this:

我的脚本是这样的:

$query = Doctrine_Query::create ()
  ->select('count(p.product_id) as num_a')              
  ->from ( 'ProductComments p' )
  ->groupBy('p.product_id')
  ->having('num_a =2 ');
$query = 



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: