Ver originalSELECT * FROM #duplicados AS t1LEFT JOIN #rfc AS t2 ON (t1.nombre=t2.nombre)WHERE t1.nombre IS NOT NULL