Doctrine 1

Select distinct limit problem