SELECT * FROM mytable LIMIT N OFFSET (SELECT COUNT(*) FROM mytable) - N;


출처: http://stackoverflow.com/questions/14018394/android-sqlite-query-getting-latest-10-records

+ Recent posts