I have two tables, one is a table of names with a category tag, and the other is a table of ratings for each name
ID Name Category 1 Dave 1 2 John 1 3 Lisa 2 4 Jim 2
and the invoice table
PersonID Score 1 50 2 100 3 75 4 50 4 75
Then I would like the query to return something like
Category TotalScore Names 1 150 Dave, John 2 200 Lisa, Jim
Is it possible to do this with a single request?
I can get the totals with a request for the amount and group them into categories, but I donโt see a way to get the names at my discretion.
Thank you very much
Dave source share