RE: month by month count

2003-08-20 Thread Jeff McKeon
1:16 AM > To: Scott Haneda; MySql > Subject: Re: month by month count > > > select count(*), monthname(yourfield) > from yourtable > where year = '2003' > group by monthname(yourfield) > > - Original Message - > From: "Scott Haneda&q

Re: month by month count

2003-08-19 Thread Terence
select count(*), monthname(yourfield) from yourtable where year = '2003' group by monthname(yourfield) - Original Message - From: "Scott Haneda" <[EMAIL PROTECTED]> To: "MySql" <[EMAIL PROTECTED]> Sent: Wednesday, August 20, 2003 12:38 PM

month by month count

2003-08-19 Thread Scott Haneda
I need to generate record counts for each month in a year, just one year at a time, but a full year at a glance. I am thinking 12 hits to the DB is perhaps not the most idea way to do it, is there a way to rip this out in one go? -- - Sc