Have you tried requesting your data from your database as it exists now and then arrange it in the client as you need it? It looks like the example is doing pretty much what you described, all you need to do now is fill in the array with your own data.
Instead of using the Load action to fill up the array from a file, you can use the Set XY action of an array to tell in which coordinates each value should go.
To follow the format of the example dop2000 gave, you would use 3 actions to set all the values for each player.
Set XY (0, 0, 1900)
Set XY (0, 1, "Sam")
Set XY (0, 2, 1)
Those actions will set all the values in the first column...
Set XY (1, 0, 120)
Set XY (1, 1, "Pete")
Set XY (1, 2, 2)
Those actions will set all the values in the second column... and so on.
Once the array has been filled up, the rest of the example should work just fine.