Ver Mensaje Individual
  #4 (permalink)  
Antiguo 04/10/2013, 11:42
jurena
Colaborador
 
Fecha de Ingreso: marzo-2008
Ubicación: Cáceres
Mensajes: 3.735
Antigüedad: 16 años
Puntos: 300
Respuesta: Comparar 2 tablas con un dato en comun

Código MySQL:
Ver original
  1. SELECT * FROM newprov np
  2.  LEFT JOIN poblaciones p
  3.    ON np.COL5 = p.id_versys
  4.       WHERE p.id_versys IS NULL