One primary key in one table linked to two foreign keys in two different tables?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mgdvicky
    New Member
    • Feb 2014
    • 12

    One primary key in one table linked to two foreign keys in two different tables?

    how to point two table foreign key to references same primary key in other table?
    my database sample structure is like,
    table1 - user(id (pk),name)
    table2 - question(id (fk),type)
    table2 - choice(id (fk),choice)
Working...