Answers for "get last n records sql"

SQL
2

get last record in sql

SELECT * FROM TableName WHERE id=(SELECT max(id) FROM TableName);
Posted by: Guest on July-29-2021
1

php sql last 10 rows

SELECT * FROM big_table ORDER BY A DESC LIMIT 10
Posted by: Guest on March-03-2020

Code answers related to "get last n records sql"

Code answers related to "SQL"

Browse Popular Code Answers by Language