title: Yii CDbCriteria Join
body: <p>How I can write the query</p>
  
  <pre><code>SELECT *
    FROM doc_docs dd 
    JOIN doc_access da 
      ON dd.id=da.doc_id 
     AND da.user_id=7
  </code></pre>
  
  <p>with <code>CDbCriteria</code> syntax?</p>