title: YII Criteria 'With' relation issue
body: <pre><code>WHEN IAM TRYING TO GET invoice created user and grn created user i am getting this error...
  </code></pre>
  
  <blockquote>
    <p>CDbCommand failed to execute the SQL statement: SQLSTATE[42000]:
    Syntax error or access violation: 1066 Not unique table/alias: 'user'.
    The SQL statement executed was: SELECT <code>t</code>.<code>id</code> AS <code>t0_c0</code>, <code>t</code>.`grn ......</p>
  </blockquote>
  
  <pre><code> $criteria-&gt;with = array(
                  "invoice.user" =&gt; array('select' =&gt; 'display_name'),
                  "grn.user" =&gt; array(
                      'select' =&gt; 'display_name',
                  ),
  
  
      );
  </code></pre>
  
  <p>please help me to solve this...</p>