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
Option 1 is a perfect solution. You may define foreign key constraint as following
1st foreign key constraint for Timesheet_For column
ALTER TABLE TIMESHEETTABLE
ADD CONSTRAINT fk_TimesheetTable_EmployeeTable
FOREIGN KEY (TIMESHEET_FOR)
REFERENCES EMPLOYEETABLE(EMPLOYEE_ID)
2nd foreign key constraint for Entered_By column
ALTER TABLE TIMESHEETTABLE
ADD CONSTRAINT fk_TimesheetTable_EmployeeTable_1
FOREIGN KEY (ENTERED_BY)
REFERENCES EMPLOYEETABLE(EMPLOYEE_ID)