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


Comments

Popular posts from this blog

How to increase Elasticsearch Shard recovery Speed

Install Cpanm module error : No such file or directory opening compressed index

Getting started with Python Flask application with MVC structure