Ver Mensaje Individual
  #7 (permalink)  
Antiguo 04/11/2006, 07:19
GoRaK
 
Fecha de Ingreso: julio-2005
Mensajes: 220
Antigüedad: 19 años, 8 meses
Puntos: 0
Código:
SELECT * FROM `tutabla` ORDER BY id DESC
o si quieres recuperar solo el ultimo campo

Código:
SELECT * FROM `tutabla` ORDER BY id DESC LIMIT 1
Tb puedes usar la función LAST de SQL


Saludos.