here's my data scructure:
news
id date name
----------------------
2 2015-12-01 news1
3 2015-12-04 news2
4 2015-12-07 news3
7 2015-12-08 news4
i'm displaying the latest news record (id 7) and want to add navigation buttons for "older" and "newer"
so what's the best method for getting the url for the next older news record (id 4)?
something like select * from news where [date which is next lower id to current id]
thanks