Manage a game player's High Score list.
Your task is to build a high-score component of the classic Frogger game, one of the highest selling and most addictive games of all time, and a classic of the arcade era. Your task is to write methods that return the highest score from the list, the last added score and the three highest scores.
To populate the results
table, there are four "properties" you must consider:
game_id
, and store the scores in a comma-separated string.
The scores must appear in the same order as they were inserted into the scores
table.scores
table.game_id
.game_id
, and aggregate them into a comma-separated string, sorted in descending order.Sign up to Exercism to learn and master SQLite with 28 exercises, and real human mentoring, all for free.