I came with a case where i need help either i can do it in one uqery:
I have to segregate members data for 1st year anniversary, 3rd year Anniversary, 5 yrs, 10 years and so on as per the joining date till 31 may 2015.
And with in each year i have to divide the counts between no of activities for 1 year, 2 years, 3 yeards and so on...
Please help me if it can be done?