to keep it simple: Col1 and DateTime are Input
how to create an output (Result) like below?
so: sequence number per Col1 & incremental with DateTime ?
Col1DateTime Result
A - 1 -> 1
A - 2 -> 2
A - 3 -> 3
B - 4 -> 1
B - 5 -> 2
A - 6 -> 1
B - 7 -> 2
B - 8 -> 3