yii中使用ar可以进行嵌套查询吗?$c = new CDbCriteria();$c->join = "left join (select goods_id, group_concat(name) as `tags` from goods_tag group by goods_id) `tag` on tag.goods_id=t.id";$res = Goods::model()->with( 'brand' )->findAll( $c );登入後複製类似上面的查询(上面的不对,查不出 tags字段),yii用ar可以查询吗?具体怎么操作? ------解决思路----------------------内嵌查询可以通过:$sql = '';$result = Yii::app()->db->createCommand($sql)->query();