| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Scott Haneda | Date: | February 6 2004 10:34pm |
| Subject: | iterating through a month | ||
| View as plain text | |||
In MySql is it possible to repeat through a month, for example I would like
to
Select count(user) from table where date = x
However, I want x to be a range from the first of the month to the last day
in the month, I of course would need to pass in a month and year value to
limit it to that month and year.
Basically, I am trying to provide a month at a glance report of total posts
by various users to a table.
--
-------------------------------------------------------------
Scott Haneda Tel: 415.898.2602
http://www.newgeo.com Fax: 313.557.5052
scott@stripped Novato, CA U.S.A.
| Thread | ||
|---|---|---|
| • A challenge I think | John Berman | 6 Feb |
| • Re: A challenge I think | Martijn Tonies | 6 Feb |
| • iterating through a month | Scott Haneda | 6 Feb |
| • Re: iterating through a month | Peter Brawley | 7 Feb |
| • Re: iterating through a month | mos | 7 Feb |
| • AW: iterating through a month | Freddie Sorensen | 7 Feb |
| • RE: A challenge I think | John Berman | 7 Feb |
| • RE: A challenge I think | Walt Weaver | 6 Feb |
| • Re: iterating through a month | mos | 10 Feb |
