How do I write a view that counts the occurance of certain items in it.
Sample Table
1,Smith, 03/01/07
2,Grace, 03/02/07
3,Henry, 03/03/07
4,Smith, 03/04/07
5,Smith, 03/05/07
6,Grace, 03/06/07
The view would return
1,Smith, 03/01/07,1
2,Grace, 03/02/07,1
3,Henry, 03/03/07,1
4,Smith, 03/04/07,2
5,Smith, 03/05/07,3
6,Grace, 03/06/07,2