I have an employee table with
empID(name, address and dateOfBirth)
Position(positionID, positionName)
empPosition(empID, positionID, datePositionChanged, INDEX(empID), INDEX(positionID))
I have inserted in employee table as:
INSERT INTO `mario`.`employee`
(`empID`, `fName`, `lName`, `address`, `postCode`, `dateOfBirth`)
VALUES
(NULL, 'Paul', 'Roberts', '221 heaventown street', '1994-12-01');
and in position table as:
INSERT INTO `mario`.`position`
(`positionID`, `positionName`, `datePositionChanged`)
VALUES
(NULL, 'Manager', '2013-12-01');
Obviously, there is no relationship between Paul and manager. Any suggestions on how should I insert it ?
(I am very new student; just learning in mySQL).