hi how to retieve the data based on joiningdate Eg : Joining date of member on last month 10/3/2012 now i have to display the result for every month which is based on joining date .
select year(joiningdate) as [Year], month(joiningdate) as [Month], count(*) as [MembersJoined] from table group by year(joiningdate), month(joiningdate)
No, you're never too old to Yak'n'Roll if you're too young to die.