Sum a set of records
Posted: Mon Feb 02, 2015 7:40 pm
Hi My requirement is like,
Input file
Expected output file
Could someone please help me with this?
Input file
ABC Maths 90
ABC English 80
DEF Maths 90
GHI English 70
GHI Maths 50
GHI Science 70
ABC English 80
DEF Maths 90
GHI English 70
GHI Maths 50
GHI Science 70
Expected output file
ABC 170
DEF 90
GHI 190
DEF 90
GHI 190
Could someone please help me with this?