Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql query with sql to get the next row

SELECT * FROM foo WHERE id = (SELECT MIN(id) FROM foo WHERE id > 4)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mysql #query #sql #row
ADD COMMENT
Topic
Name
6+8 =