ERROR 1452: 1452: Cannot add or update a child row: a foreign key constraint fails (`harris`.`MANAGER`, CONSTRAINT `fk_EMPLOYEE_has_PROJECT_PROJECT1` FOREIGN KEY (`PROJECT_project_ID`) REFERENCES `PROJECT` (`project_ID`) ON DELETE NO ACTION ON UPDATE NO ACTION)
SQL Statement:
INSERT INTO `harris`.`MANAGER` (`EMPLOYEE_employee_ID`, `PROJECT_project_ID`) VALUES ('EMPLOYEE_employee_ID', 'PROJECT_project_ID')
无论我使用什么外键,它都不会起作用。出于某种原因,它增加了一个" 1"到最后IE:PROJECT_PROJECT,它应该只是project_id和employye_num