Ver Mensaje Individual
  #2 (permalink)  
Antiguo 14/07/2006, 11:33
Avatar de claudiovega
claudiovega
 
Fecha de Ingreso: octubre-2003
Ubicación: Puerto Montt
Mensajes: 3.667
Antigüedad: 20 años, 6 meses
Puntos: 11
Prueba con or, asi:

Código:
select * from mensaje where ((id_destino='id_1' or id_destino='id_2') and (id_autor='id_1' or id_autor='id_2')) limit 1;