SA-MP Forums Archive
short mysql question - 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: short mysql question (/showthread.php?tid=608006)



short mysql question - justjamie - 26.05.2016

hello.
Is there any way to retrieve the last row in my table?


Re: short mysql question - Misiur - 26.05.2016

Sure.

Quote:

SELECT * FROM yourtable ORDER BY id DESC LIMIT 1