Ver Mensaje Individual
  #2 (permalink)  
Antiguo 15/12/2008, 15:47
Avatar de Thumper
Thumper
 
Fecha de Ingreso: agosto-2004
Ubicación: Jesús María - Lima - Perú
Mensajes: 270
Antigüedad: 19 años, 8 meses
Puntos: 6
Respuesta: Seleccionar solo la informacion diferente entre 2 tablas

Podrias usar unos subselect's:

select a.id, a.nombre
from tabla1 a
where a.id not in ( select b.id from tabla2 b)

Saludos
__________________
Martín Alexis Valdivia S.
-----------------------------
"Quisiéramos cambiar el mundo, pero Dios no nos daría el código fuente." CAP
"Si Saber No Es Un Derecho, Seguro Será Un Izquierdo." WD