Help with reordering rows (MySQL)
#2

Like this?
pawn Код:
SELECT `username`,`score` FROM `players` ORDER BY `score` ASC LIMIT 10
Selects and orders top 10 players by score asc (1, 2, 3 etc).

EDIT: Found a useful tutorial on the SQL Side of it here. Click next page, and it will teach you all you need to know.
Reply


Messages In This Thread
Help with reordering rows (MySQL) - by m1kas - 27.02.2018, 01:11
Re: Help with reordering rows (MySQL) - by DobbysGamertag - 27.02.2018, 01:15
Re: Help with reordering rows (MySQL) - by m1kas - 27.02.2018, 01:19
Re: Help with reordering rows (MySQL) - by m1kas - 27.02.2018, 09:31
Re: Help with reordering rows (MySQL) - by PepsiCola23 - 27.02.2018, 09:55

Forum Jump:


Users browsing this thread: 1 Guest(s)