Two foreign keys referencing the same primary key

后端 未结 4 2158
心在旅途
心在旅途 2020-12-08 09:55

Is this okay to have two foreign keys in one table referencing one primary key of other table?

EmployeeID is a primary key in the employee table and appearing as a f

4条回答
  •  长情又很酷
    2020-12-08 10:43

    yes, there is no problem with that...you can use a primary key of one table in other table as foreign key two times.

提交回复
热议问题