title: Cannot do Inner join in CDbCriteria
body: <p>This is mysqli query</p>
  
  <pre><code>SELECT DISTINCT t.company_id,t.image,t.text,t.date, t.title AS c_title
  FROM news t
  INNER JOIN companies c ON c.company_id=t.company_id ORDER BY t.date DESC
  LIMIT 20" or die ("ERROR ". mysqli_error($link));
  </code></pre>
  
  <p>I want to write in CDbCriteria</p>
  
  <pre><code>$Criteria = new CDbCriteria();
  $Criteria-&gt;join = 'INNER JOIN companies c ON t.company_id=c.company_id';
  if ($place&gt;0){
      $Criteria-&gt;condition = "t.company_id = :place";
      $Criteria-&gt;params = array(':place'=&gt;$place);
  }
  $Criteria-&gt;order = "t.date DESC";
  $Criteria-&gt;limit = 20;
  $Criteria-&gt;select='t.company_id,t.image,t.text,t.date,c.title AS c_title';
  $dataProvider = new CActiveDataProvider('News',
      array(
          'criteria'=&gt;$Criteria,
          'pagination'=&gt;false
      )
  );
  </code></pre>
  
  <p>Error Property "News.c_title" is not defined</p>