MySQL Forums
Forum List  »  Spanish

Re: crear relaciones entre tablas
Posted by: Manuel Balleza
Date: November 20, 2019 08:12AM

Yo pondría un ID para la tabla antecendentes este si debería ser autoincremental y llave primaria,

De esta manera legajo puede ser repedito n veces.

Posterior a esto hacer una llave foranea de la tabla antecendentes a personal, con eso te aseguras de no perder integridad en la base de datos, ya que no te permitira poner un dato en legajo que no exista en la tabla personal.

Esto te sirvió?

Options: ReplyQuote


Subject
Views
Written By
Posted
1153
November 12, 2019 11:55AM
Re: crear relaciones entre tablas
363
November 20, 2019 08:12AM


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.