![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
28/09/2005, 15:36
|
![Avatar de Mithrandir](http://static.forosdelweb.com/customavatars/avatar33633_3.gif) | Colaborador | | Fecha de Ingreso: abril-2003
Mensajes: 12.106
Antigüedad: 21 años, 9 meses Puntos: 25 | |
CREATE TABLE madre (a int, b int, c int, d int)
INSERT INTO madre(a,c)
SELECT uno, otro FROM hija
Eso dejará los campos b y d de madre en NULL, siempre y cuando tu tabla acepte NULLs en esos campos.
__________________ "El hombre, en su orgullo, creó a Dios a su imagen y semejanza."Friedrich Nietzsche |