tq for ur answer.
but i couldnt found any statement that explaining about how to sum a
field in query on cakephp..
so..any idea?

On Aug 9, 4:23 pm, Jeremy Burns | Class Outfit
<[email protected]> wrote:
> There is an example here 
> (http://book.cakephp.org/view/1030/Complex-Find-Conditions) that shows how to 
> do a MIN query, which is essentially the same thing.
>
> Jeremy Burns
> Class Outfit
>
> [email protected]http://www.classoutfit.com
>
> On 9 Aug 2010, at 10:09, Cruisine wrote:
>
> > hi i'm still newbie at cakephp.
> > and i still wondering how to make sum query on cakephp ?
> > for example i want to make a query like this :
> > select count(id) as customer, sum(payment) as money from customer
> > where department_id=1
> > how to implement it on cakephp ??
> > do you have the solution ?
> > i need ur help..tq
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others 
> > with their CakePHP related questions.
>
> > You received this message because you are subscribed to the Google Groups 
> > "CakePHP" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected] For more options, visit this group 
> > athttp://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to