I have a mysql table which columns are post_id and post_msg. Now I want to query starting from a row that has a value of 3 in its post_id column. As a result of this query all the rows starting from post_id 3 (ASC) will be the result set.
How can i do this?
post_id | post_msg
1 | heheh
2 | hi
3 | hello
4 | hoho
5 | hayhay
6 | harhar
from that table i want to query starting to a row that has a post_id that its value is 3
I know to use LIMIT but my requirement is really to use the post_id for some reasons.
Is this possible?
Try below: