I have a simple requirement, this is the repeating table
Code Unit
-----------------
A 3
A 5
A 2
B 3
B 3
I need to display this in another view as
Code Unit
------------------
A 10
B 6
Basically summed by Code, how would I do this using eval? Please help