title: ORA-02298 Parent Keys Not Found?
body: <p>I've been stuck on this for ages as every time I try it - it comes up with the following error: Cannot Validate - parent keys not found.</p>
  
  <p>Here's the code (<a href="https://i.imgur.com/6JBzTiM.jpg" rel="noreferrer">http://i.imgur.com/6JBzTiM.jpg</a>):</p>
  
  <p><img src="https://i.stack.imgur.com/MCa5a.jpg" alt="http://i.imgur.com/6JBzTiM.jpg"></p>
  
  <p>I can create the Primary Key in the Employees table and assign it to EmployeeId. But when trying to add that as a foreign key in the WorkPackages table (using the code below)</p>
  
  <pre><code>ALTER TABLE WORKPACKAGES
  ADD FOREIGN KEY (EMPLOYEEID) REFERENCES EMPLOYEES (EMPLOYEEID);
  </code></pre>
  
  <p>it keeps on coming up with the validation error.</p>
  
  <p>What am I doing wrong?</p>