Dear all, How can I get values of aggregate functions using repository or else ? E.g. I need to find "SELECT AVG(clicks) FROM `tablename` WHERE pid = ?" -- Best Regards Andriy Kushnarov