Two tables in my database are as follows:
[Employee] Table:
Id (Primary Key, Autoincrement)
FirstName
LastName
Status
[Status] Table:
Status (Primary Key)
Status is one of the following: "FullTime" "Contractor" "Terminated"
How should [Employee].Status reference [Status].Status as foreign key? I see two ways of doing this:
- [Employee].Status points directly to [Status].Status
- I add an Id column to [Status] table and make it PK/Autoincrement. Then [Employee].Status points to [Status].Id. This means I have to do a join in order to get the status text.
Other tables may also reference the Status table. Is one of the two methods the 'correct' way of doing things or are both a matter of design?