Helge Vad wrote: > Could you not achieve the same by using groupBy for relevant fields ? No! This won't run on any database other than mysql which is not what dbal was developed for. -- MfG, Christian Welzel GPG-Key: http://www.camlann.de/key.asc Fingerprint: 4F50 19BF 3346 36A6 CFA9 DBDC C268 6D24 70A1 AD15