How do I query data like this :-
Year Week
2006 10
2006 25
2007 10
2007 10
2007 20
2008 20
2008 20
to turn it into this :-
Year Week Arrival Rate
2006 10 1
2006 25 1
2007 10 2
2007 20 1
2008 20 2
I can find loads about finding duplicates, deleting duplicates, hiding duplicates but not much on counting them ?
Year Week
2006 10
2006 25
2007 10
2007 10
2007 20
2008 20
2008 20
to turn it into this :-
Year Week Arrival Rate
2006 10 1
2006 25 1
2007 10 2
2007 20 1
2008 20 2
I can find loads about finding duplicates, deleting duplicates, hiding duplicates but not much on counting them ?