I have records like this :
Trans_ID ITEM_NAME TOTAL_TRANS
101
a
5
101
a
5
101 b 5
101 c 5
101 b 5
102 a 3
102 c 3
102 c 3
etc (aprox 270k record)
what query should i use to make it like this :
Trans_ID ITEM_NAME VALUE TOTAL_TRANS
101
a 2/5 5
101
b 2/5 5
101
c 1/5 5
102
a 1/3 3
102
c 2/3 3
thank you very much
Try this