mysql query with sql to get the next row
snippet in sql

mysql query with sql to get the next row

user9303

SELECT * FROM foo WHERE id = (SELECT MIN(id) FROM foo WHERE id > 4)