MySQL Forums
Forum List  »  Spanish

Re: llenar campos de tabla de otra tabla
Posted by: Jesús Uzcanga
Date: November 04, 2013 03:57PM

Yadiz.

En primer lugar debes tratar de colocar más información de tu problema y agregar un script para nosotros poder generar las tablas de prueba e insertarle datos. Tu ejemplo es terrible.

Imagino que lo que deseas hacer es modificar los campos que ya están llenos con los datos de otra tabla.

Prueba con algo como esto:

UPDATE tabla
INNER JOIN otraTabla ON id.otraTabla=id.tabla
SET campo.tabla=campo.otraTabla

___________________________
Ing. Jesús Alfredo Uzcanga
Twitter: @JesusUzcanga

We learn the 20% of what we HEAR,
the 50% of what we SEE,
the 80% of what we DO and
the 95% of what we TEACH.

____________________________________________________________
https://www.linkedin.com/in/jauzcanga/

Options: ReplyQuote


Subject
Views
Written By
Posted
2090
November 04, 2013 12:44PM
Re: llenar campos de tabla de otra tabla
5268
November 04, 2013 03:57PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.