Added: 2 years ago
From: BDSQLORACLE
Views: 2,731
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (5)

Sign In or Sign Up now to post a comment!
  • Amigo un detalle. Me parece que tu ejemplo esta mal. Estuve analizando tu ejemplo y donde hablas de la relación muchos a muchos lo que debes de crear es dos relaciones (1-muchos) y tu estas dividiendo la relacion muchos a muchos en 2 de (1 a 1) La prueba esta es que en la tabla adicional que creas, los campos que relacionas son llaves primarias ;)

  • gracias por el ejemplo me sirvio

  • amigo se pueden crear las relaciones (FK) inmediatamente al crear todas las tablas? o es necesario crear las relaciones despues de crear las tablas usando necesariamente "after" no se si me explico

  • SI ENTENDI Y ME SALIO TODO MUY BIEN LO KE SIO MO ENTENDI ES KE PARA RELACIONAR DE UNO AMUCHOS SE NECESITA UNA COLUMNA NORMAL Y UNA CON LLAVE PRIMARIA PERO USTED EN EL ULTIMO EJERCICIO A LA TABLA INTERMEDIA LE AGREGAR DOS LLAVES PRIMARIAS A CURSO ALUMNO Y DESPUES LA SRELACION COMO UNO AMUCHOS YO CREI KE SALIA COMO RELACION DE UNO A UNO PERO SALIO BIEN KISIER SABER POR KE ????

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more