Table 1 looks like this:
Name Date Hours HoursType
Doe, John 8/7/18 22 A
Doe, John 8/7/18 10 B
Doe, John 8/7/18 5 C
Doe, Jane 8/7/18 15 A
Doe, Jane 8/7/18 40 B
I'd like a Select that adds an incrementing integer as an additional column ideally it will produce results that looks like this:
Doe, John 8/7/18 22 A 1
Doe, John 8/7/18 10 B 2
Doe, John 8/7/18 5 C 3
Doe, Jane 8/7/18 15 A 1
Doe, Jane 8/7/18 40 B 2
The 5th column should start at 1 and increment by 1 for each line of Doe, John. It should start back over at 1 for the next name.
Thanks