Hello,
The query is like
The record is get is something like
2 2003/February
4 2003/March
5 2003/April/
etc.
Now if there is no matching record in the month of 2003/January the result will not be getting fetched.
however for display purpose i want
0 2003/January
Can in some way i modify the above query to include the result which is having 0 records?
I am clueless at the moment.
Thanks in advance
--------------------------------------------------------------------------
I never set a goal because u never know whats going to happen tommorow.
The query is like
Code:
select count(*), Date_Format(application_date, '%Y/%M') as month from tablename where commn_date IS NULL
AND application_date >= '$date_from1' AND application_date <= '$date_to1'
group by Date_Format(appilcation_date, '%Y/%M') order by application_date
2 2003/February
4 2003/March
5 2003/April/
etc.
Now if there is no matching record in the month of 2003/January the result will not be getting fetched.
however for display purpose i want
0 2003/January
Can in some way i modify the above query to include the result which is having 0 records?
I am clueless at the moment.
Thanks in advance
--------------------------------------------------------------------------
I never set a goal because u never know whats going to happen tommorow.