Ver Mensaje Individual
  #2 (permalink)  
Antiguo 07/11/2007, 12:41
Avatar de andruqui
andruqui
 
Fecha de Ingreso: agosto-2007
Mensajes: 269
Antigüedad: 16 años, 9 meses
Puntos: 2
Re: Consulta 2 Bases De Datos

Algo asi ?

Código PHP:
select from tabla where (historia=3000 AND ingreso=1) or (historia=2000 AND ingreso=2) or (historia=1000 AND ingreso=1