Ver Mensaje Individual
  #3 (permalink)  
Antiguo 01/07/2008, 00:48
seyko
 
Fecha de Ingreso: febrero-2007
Mensajes: 1.292
Antigüedad: 17 años, 3 meses
Puntos: 13
Respuesta: Sintaxis Insert into

Cita:
Iniciado por rezocrew Ver Mensaje
yo lo hice asi pero no funciono

INSERT INTO tabla2(nombre, rut, direccion)
SELECT nombre, rut, direccion
FROM tabla1, tabla3
WHERE tabla1.rut= tabla3.rut
Seguramente te lanzo un error diciendote que la columna xxxx era ambigua o algo por el estilo... mostrar el error tambien ayuda.

Salu2