Ver Mensaje Individual
  #2  
Antiguo 06-07-2005
Avatar de roman
roman roman is offline
Moderador
 
Registrado: may 2003
Ubicación: Ciudad de México
Posts: 20.269
Reputación: 10
roman Es un diamante en brutoroman Es un diamante en brutoroman Es un diamante en bruto
Algo como

Código SQL [-]
select tabla1.*
from tabla1
left join tabla2 on tabla2.IdCodigo = tabla1.IdCodigo
where tabla2.IdCodigo is null

// Saludos
Responder Con Cita