There is a way to use agregate functions with cakephp? like sum() or avg() with find() method.

**UPDATE:**

I missed a line in the book 

`array('fields'=>array('Product.type','MIN(Product.price) as price'), 'group' => 'Product.type');`

Showing the basic structure for doing that.

Thanks for the help