Ver Mensaje Individual
  #4 (permalink)  
Antiguo 16/02/2013, 01:59
jurena
Colaborador
 
Fecha de Ingreso: marzo-2008
Ubicación: Cáceres
Mensajes: 3.735
Antigüedad: 16 años, 1 mes
Puntos: 300
Respuesta: Traer el ultimo registro que haya sido ingresado

Código MySQL:
Ver original
  1. SELECT numserie, idTerminalesAlmGeneral, campo3, campo4
  2.  FROM tutabla
  3. WHERE numserie = @numserie
  4.  ORDER BY idTerminalesAlmGeneral DESC LIMIT 1