We have this on mysql:
**And want return with 2 limit:**
1-
"SELECT * FROM table ORDER BY point DESC LIMIT 0,2"
//return 'google' & 'jsfiddle'
2-
"SELECT * FROM table ORDER BY point DESC LIMIT 2,2"
//return 'stackoverflow' & 'msn'
3-
"INSERT INTO table SET id = 11, name = 'gmail', point = 101 "
4-
"SELECT * FROM table ORDER BY point DESC LIMIT 4,2"
//return 'msn' & 'emra'
**in number 4 'msn' is duplicate. I want number 4 return 'emra' & 'facebook'.**
I can save 'id' and I want query that return records after that id.
[EDIT] let me ask in another way:
we have this records:
id, name, point
4, 'google', 100
6, 'yahoo', 100
3, 'gmail', 100
8, 'ymail', 100
2, 'fb', 100
I have id:3 and want select records that are after this id(in this example 'ymail', 'fb')
this is a ajax load content by scorlling(like facebook) but about max points of users that every moment is changing.