We have an app that handles surveys and at the end of the survey there’s a report.
We want to show the most common reponse on screen.
So we need to count the response grouped by answer, find the max from that set, then find the response(s) whose count maches with the max count.
We’re banging our heads on the keyboard trying to find out how to do that. It’s got to be done on the UI and not database because it will depend on each user.