title: Is it possible to convert into DQL or Doctrine Query Builder
body: <p>I have 3 tables with column</p>
  
  <pre><code>A:
      id
  B:
      id
      a_id
  C:
      id
      b.id
  </code></pre>
  
  <p>with native query:</p>
  
  <pre><code>SELECT a.id, b.id, c.id
  FROM A as a 
  LEFT JOIN B as b 
      INNER JOIN C as c ON b.id = c.b_id
  ON a.id = b.a_id
  </code></pre>
  
  <p>i have tried</p>
  
  <pre><code>SELECT a.id, b.id, c.id 
      FROM App\HomeBundle\Entity\A as a
      LEFT JOIN App\HomeBundle\Entity\B as b
          INNER JOIN App\HomeBundle\Entity\C as c
          ON c.id = c.bId
      ON a.id = b.aId
  </code></pre>
  
  <p>i got error:</p>
  
  <pre><code>Error: Expected Literal, got 'JOIN' 
  </code></pre>
  
  <p>Is it possible to convert my native query to DQL or query builder? If possible, how it will be look like?</p>