I want to count the number of applications by a student split by month since their first application.
Say I have the table structure as follows :
Student ApplicationDate
------- ---------------
Barry 2009-01-01
Barry 2009-01-20
Barry 2009-01-23
Barry 2009-02-01
Barry 2009-02-15
Barry 2009-03-01
I would like something along the lines of :
Student Month Applications
------- ----- ------------
Barry 1/2009 3
Barry 2/2009 2
Barry 3/2009 1
How do you perform this in SQL for all students, for all applications?