1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Multiple foreign keys

Discussion in 'MySQL' started by Asmaa, Dec 9, 2011.

  1. Asmaa

    Asmaa New Member

    Is a table can have more than one foreign keys references just one Primary key in another table?
    For example: (can it be and how?)
    Table 1: (have primary key: PK)
    Table2: (have foreign keys : FK1 , FK2, FK3)
    And all foreign key of table2 reference the primary key of table1.
    Thanks in advance
     
  2. tvrameshmc

    tvrameshmc New Member

    Yes it is possible.
     

Share This Page