He\'s a beginner, and I\'ve encountered this programming conundrum:
We have sample records in the table:
ID VALUE 1 5 1 4 2 3 2 4 3 3 3 5