nästa:
select * from foo where id = (select min(id) from foo where id > 4)
föregående:
select * from foo where id = (select max(id) from foo where id < 4)
nästa:
select * from foo where id = (select min(id) from foo where id > 4)
föregående:
select * from foo where id = (select max(id) from foo where id < 4)