STRUCTURE TABLES AND ERROR WHEN EXECUTE QUERY ON SQLFIDDLE
I have table News
.
For example i get row where NewsIdn = '164955'
:
SELECT * FROM News WHERE NewsIdn = '164955'
Previous row have NewsIdn = '270085'
and next row have NewsIdn = '324955'
.
Tell me please how get previous NewsIdn
and next NewsIdn
with help mysql query?