finding the number of 1's in my table in order

Posted by bsandrabr on Stack Overflow See other posts from Stack Overflow or by bsandrabr
Published on 2010-03-12T12:14:08Z Indexed on 2010/03/12 12:17 UTC
Read the original article Hit count: 141

Filed under:
|
|
|

I have a table of customers with a 1 recorded against their customerid on different dates. I would like to find the sum of the 1's recorded in descending order. I'm using MySQL and php Thanks

© Stack Overflow or respective owner

Related posts about sum

Related posts about php