Greetings,
I'm posting this topic in this board because I believe that it's not related to SAMP scripting as it's SQL related or so.
So yeah, pretend that we have a database, a table.
We have 5 columns in a row which are "Admin", "Rcon", "Oldlvl", "Newlvl", "Date", "Time".
I wanted to ask if I want to get the last 20 updated/inserted data in these columns and the table, what should I send as a query to the server to get it. Also when I queried it, how can I get it as an string?
I don't know how to do it, and I'm somehow new to the SQL language syntax and scripting.
I'll give a rep to anyone trying to help here, so I'll appreciate if you help me. Thanks a lot. :)
I'm posting this topic in this board because I believe that it's not related to SAMP scripting as it's SQL related or so.
So yeah, pretend that we have a database, a table.
We have 5 columns in a row which are "Admin", "Rcon", "Oldlvl", "Newlvl", "Date", "Time".
I wanted to ask if I want to get the last 20 updated/inserted data in these columns and the table, what should I send as a query to the server to get it. Also when I queried it, how can I get it as an string?
I don't know how to do it, and I'm somehow new to the SQL language syntax and scripting.
I'll give a rep to anyone trying to help here, so I'll appreciate if you help me. Thanks a lot. :)