Answers for "mysql get last n days from table"

SQL
0

select last N rows mysql

SELECT * FROM (
    SELECT * FROM table ORDER BY id DESC LIMIT 50
) sub
ORDER BY id ASC
Posted by: Guest on April-01-2021

Code answers related to "mysql get last n days from table"

Code answers related to "SQL"

Browse Popular Code Answers by Language