Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

how to take recent row without limit in mysql

SELECT * FROM (
    SELECT * FROM table ORDER BY id DESC LIMIT 50
) sub
ORDER BY id ASC
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #row #limit #mysql
ADD COMMENT
Topic
Name
4+1 =