Ver Mensaje Individual
  #5 (permalink)  
Antiguo 06/07/2010, 13:24
Ursulo
 
Fecha de Ingreso: mayo-2010
Mensajes: 212
Antigüedad: 13 años, 10 meses
Puntos: 3
Respuesta: insertar con select

Aqui un ejemplo,

INSERT INTO tbl_temp2 (fld_id)
SELECT tbl_temp1.fld_order_id
FROM tbl_temp1 WHERE tbl_temp1.fld_order_id > 100;

y aqui la pagina

http://dev.mysql.com/doc/refman/5.0/...rt-select.html