I have the following problem:
Apple | Document 1 | 5
Orange | Document 2 | 4
Apple | Document 3 | 7
What I would like to happen with a query is the following:
Apple | Document 1 | Document 3 | 12
Orange | Document 2 | 7
Is there a function that does this for you?