Re: [GENERAL] monthly tally of new memberships

2007-07-18 Thread brian
Alvaro Herrera wrote: brian wrote: Michael Glaesemann wrote: On Jul 18, 2007, at 13:29 , brian wrote: This returns the new memberships for each day, ignoring days without any. What i'd like to do though, is to select only the 1st of each month, summing the new memberships or that month, eg:

Re: [GENERAL] monthly tally of new memberships

2007-07-18 Thread Alvaro Herrera
brian wrote: > Michael Glaesemann wrote: >> On Jul 18, 2007, at 13:29 , brian wrote: >>> This returns the new memberships for each day, ignoring days >>> without any. What i'd like to do though, is to select only the 1st >>> of each month, summing the new memberships or that month, eg: >>> month

Re: [GENERAL] monthly tally of new memberships

2007-07-18 Thread brian
Michael Glaesemann wrote: On Jul 18, 2007, at 13:29 , brian wrote: This returns the new memberships for each day, ignoring days without any. What i'd like to do though, is to select only the 1st of each month, summing the new memberships or that month, eg: month | applications 2006-05

Re: [GENERAL] monthly tally of new memberships

2007-07-18 Thread Jon Sime
brian wrote: I'm trying to create a select statement that will show me the number of new memberships or an organisation by date (first of each month). The member table has a date column to reflect when the member was inserted. So far, i've gotten as far as: SELECT applied AS date_applied, cou

Re: [GENERAL] monthly tally of new memberships

2007-07-18 Thread Michael Glaesemann
On Jul 18, 2007, at 13:29 , brian wrote: This returns the new memberships for each day, ignoring days without any. What i'd like to do though, is to select only the 1st of each month, summing the new memberships or that month, eg: month | applications 2006-05-01 |

[GENERAL] monthly tally of new memberships

2007-07-18 Thread brian
I'm trying to create a select statement that will show me the number of new memberships or an organisation by date (first of each month). The member table has a date column to reflect when the member was inserted. So far, i've gotten as far as: SELECT applied AS date_applied, count(id) AS appl