N
Nai
I need to assign numbers to a set of records within a group as follow:
Original Table T
colA colB
john green
john yellow
john red
john blue
mary red
mary black
mary blue
Query:
colA colB(ascending) colC(auto number)
john blue 1
john green 2
john red 3
john yellow 4
mary black 1
mary blue 2
mary red 3
Please help, thanks..
Original Table T
colA colB
john green
john yellow
john red
john blue
mary red
mary black
mary blue
Query:
colA colB(ascending) colC(auto number)
john blue 1
john green 2
john red 3
john yellow 4
mary black 1
mary blue 2
mary red 3
Please help, thanks..