Ver Mensaje Individual
  #4 (permalink)  
Antiguo 13/03/2015, 10:21
Avatar de Libras
Libras
Colaborador
 
Fecha de Ingreso: agosto-2006
Ubicación: En la hermosa perla de occidente
Mensajes: 7.412
Antigüedad: 17 años, 8 meses
Puntos: 774
Respuesta: Fusionar dos Tablas

Código SQL:
Ver original
  1. INSERT INTO clientes2
  2. SELECT id FROM clientes AS t1
  3. LEFT JOIN clientes2 AS t2 ON (t1.id=t2.id)
  4. WHERE t2.clientes IS NULL

Para que tanto brinco estando el suelo tan parejo......
__________________
What does an execution plan say to t-sql query? Go f**k yourself, if you are not happy with me