consulta mysql con sql para obtener la siguiente fila
SELECT * FROM foo WHERE id = (SELECT MIN(id) FROM foo WHERE id > 4)
Perfect Pigeon
SELECT * FROM foo WHERE id = (SELECT MIN(id) FROM foo WHERE id > 4)