Tuesday, November 10, 2009

Getting Next Existing Record in a DB

Wondered how to do it,, & did it Using offset:

sql:

SELECT
* FROM foo WHERE id = 4 OFFSET 1


No comments: