SA-MP Forums Archive
MySQL - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: MySQL (/showthread.php?tid=534379)



MySQL - kamiliuxliuxliux - 29.08.2014

Now in my MySQL table information is numbered:

ID Name

1 Nick
2 James
3 Robin

How to make it like:

ID Name

3 Robin
2 James
1 Nick


?


Re: MySQL - Calgon - 29.08.2014

http://www.w3schools.com/php/php_mysql_order_by.asp

Example:
Код:
SELECT * FROM `users` ORDER BY `ID` DESC



Re: MySQL - kamiliuxliuxliux - 29.08.2014

Thanks, +rep