My Database contains the following:
| ID | UID | file | score | time |
1 | a827vgj28df | jack_123 | 75 | 12:44
2 | ayeskfkfjhk | jack_999 | 5 | 12:12
3 | b83759 | adam_123 | 7 | 12:12
Goal: I am trying to get a query that displays the avg scores for each file prefix (jack/adam)
To display like:
| Key | AVG
jack 40
adam 7