title: Join query in doctrine symfony
body: <p>I have two tables userdetails and blog question The schema is </p>
  
  <pre><code>UserDetails:
    connection: doctrine
    tableName: user_details
    columns:
      id:
        type: integer(8)
        fixed: false
      name:
        type: string(255)
        fixed: false
  
  BlogQuestion:
    connection: doctrine
    tableName: blog_question
    columns:
      question_id:
        type: integer(8)
        fixed: false
        unsigned: false
        primary: true
        autoincrement: true
      blog_id:
        type: integer(8)
        fixed: false
      user_id:
        type: integer(8)
        fixed: false
      question_title:
        type: string(255)
  </code></pre>
  
  <p>I am using one join query for retrieving all the questions and user details from this two tables  My join query is </p>
  
  <pre><code>$q = Doctrine_Query::create()
      -&gt;select('*')
      -&gt;from('BlogQuestion u')
      -&gt;leftJoin('u.UserDetails p');
      $q-&gt;execute();
  </code></pre>
  
  <p>But it is showing this error Unknown relation alias UserDetails</p>
  
  <p>Pls anybody help me </p>
  
  <p>Thanks in advance</p>