Is it fine to have foreign key as primary key?
Foreign keys are almost always “Allow Duplicates,” which would make them unsuitable as Primary Keys. Instead, find a field that uniquely identifies each record in the table, or add a new field (either an auto-incrementing integer or a GUID) to act as the primary key. The only exception to this are tables with a one-to-one … Read more