title: How Can i use yii2 query along with the normal query
body: <p>I have a yii2 query in my project like</p>
  
  <pre><code>$query=Car::find()
        -&gt;andFilterWhere(['in','make_id',array_filter(explode(',', $this-&gt;makes))])
              -&gt;andFilterWhere(['in','model_id',array_filter(explode(',', $this-&gt;models))])
              -&gt;andFilterWhere(['&gt;=', 'price', $this-&gt;price_start])
              -&gt;andFilterWhere(['&lt;=', 'price', $this-&gt;price_end])
              -&gt;andFilterWhere(['&gt;=',  ModelYear::tableName().'.year', $this-&gt;year_start])
              -&gt;andFilterWhere(['&lt;=',  ModelYear::tableName().'.year', $this-&gt;year_end])
              -&gt;andFilterWhere(['&gt;=', 'kilometer', $this-&gt;km_start])
              -&gt;andFilterWhere(['&lt;=', 'kilometer', $this-&gt;km_end])
              -&gt;andFilterWhere(['like', 'title', $this-&gt;title])
  </code></pre>
  
  <p>And also i have another query like </p>
  
  <pre><code>$command = $connection-&gt;createCommand("select A.id,A.make_eng,Count(B.make_id) 
  from tbl_car_makes A,(**Can i use the first $query here**) as B where A.id=B.make_id group by A.id,A.make_eng");
  $data = $command-&gt;queryAll();
  </code></pre>
  
  <p>How can i use the first query inside the second query in the specified position</p>