Ver Mensaje Individual
  #3 (permalink)  
Antiguo 30/05/2002, 10:47
Avatar de Cain
Cain
 
Fecha de Ingreso: enero-2002
Ubicación: Catalunya
Mensajes: 6.459
Antigüedad: 22 años, 3 meses
Puntos: 17
Re: Como capturo ultimo registro disponible en mysq???

SELECT MAX(id) FROM tabla

Esta consulta SQL devuelve el id más grande (por lo tanto el más reciente) de la tabla.


Joe Tawers,
<a href="http://www.ilimit.com/towers">http://www.ilimit.com/towers</a>