backend
backend copied to clipboard
Unnecessary logic
Grouping by answer ID (the PK) gives one result, so no need to aggregate, can just select XP etc. directly?