I have a file full of data
Come up against an issue where i want to summarize results in a query.
Example being as follows:
NAME | FRUIT | PRICE 
JOHN | APPLE |  2
JOHN | APPLE |  2
JOHN | APPLE |  2
JOHN | APPLE |  2
JOHN | GRAPE |  3
DAVE | GRAPE |  3
DAVE | GRAPE |  3
DAVE | GRAPE |  3
This is my table at the moment, what i need though is to have a summary of Johns business, like below:
NAME | FRUIT      | PRICE 
JOHN | APPLE      |  2
JOHN | APPLE      |  2
JOHN | APPLE      |  2
JOHN | APPLE      |  2
JOHN | APPLETOTAL |  8 
JOHN | GRAPE      |  3
JOHN | GRAPETOTAL |  3
DAVE | GRAPE      |  3
DAVE | GRAPE      |  3
DAVE | GRAPE      |  3
Can this be done?
 
     
    