Doctrine 1

Subqueries do not work in select