I have 3 tables with column
A:
    id
B:
    id
    a_id
C:
    id
    b.id
with native query:
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
i have tried
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
i got error:
Error: Expected Literal, got 'JOIN' 
Is it possible to convert my native query to DQL or query builder? If possible, how it will be look like?
 
     
     
    