Ver Mensaje Individual
  #2 (permalink)  
Antiguo 14/01/2011, 10:48
Avatar de huesos52
huesos52
Colaborador
 
Fecha de Ingreso: febrero-2009
Ubicación: Manizales - Colombia
Mensajes: 5.980
Antigüedad: 15 años, 2 meses
Puntos: 360
Respuesta: duda traer varios registros con diferentes id.

quedaría mejor y mas elegante así:

Código MySQL:
Ver original
  1. SELECT campos FROM tabla WHERE id IN(1,2,3,4);
__________________
Without data, You are another person with an opinion.
W. Edwads Deming