In short, I have a game, and the scoreboard for it shows the playerβs score at the end + how much time they took to reach it. I need to order my MySQL results so that the highest score is the first at the fastest time, and the lowest score with the slowest time is the last, and everything in between is rated the same. But I have no idea how I will do this, here is my sql as it stands:
$sql1 = "SELECT * FROM boobmatch_highscores ORDER BY t_score DESC, time ASC";
Any help would be greatly appreciated!
The data in the table:
Score Time 23 00:04:32 23 00:04:31 25 00:02:32 16 00:06:32 35 00:04:32 2 00:01:17 -13 00:19:32 -3 00:07:27
source share