They're the same column
Name-Category
A-SL
B-SL
C-SL
A-SL
A-SL
C-SL
now in my script, i group them in Category but i want to count on how many times they occur in the query. please see below:
Customer-Line#
A-1 (means its the first time it occurs)
A-2 (means its the second time it occurs)
A-3 (means its the third time it occurs)
....so on
----------
B-1 (means its the first time it occurs)
----------
C-1 (means its the first time it occurs)
C-2 (means its the second time it occurs)
sorry for confusion, hope its clear for everyone.
Thank you,