I want to convert this Query to the Doctrine 2 Query Builder.
SELECT st.id,
serwis2.uwagi_dla_serwisu,
serwis2.data_wyslania,
serwis2.data_powrotu
FROM st left join
(select * from serwis where serwis.data_powrotu is null) serwis2
on serwis2.st_id = st.id
In MySQL this query is exactly what I need but I don't know how I can convert it into the QueryBuilder.
Is possible to the left join over an select subquery in the QueryBuilder?