Question: Same error: Foregin Key Incorrectly Formed SQL CODE: CREATE TABLE DEPENDENT _ maw ( Employee _ SSN CHAR ( 9 ) NOT NULL, Dependent _

Same error: Foregin Key Incorrectly Formed
SQL CODE:
CREATE TABLE DEPENDENT_maw
(Employee_SSN CHAR(9) NOT NULL,
Dependent_Name VARCHAR(15) NOT NULL,
Sex CHAR CHECK (Sex IN ('M','F','m','f')),
Birthday DATE,
Relationship VARCHAR(8),
CONSTRAINT FK_EMPLOYEE FOREIGN KEY (Employee_SSN) REFERENCES Employee(SSN) ON DELETE CASCADE);
 Same error: Foregin Key Incorrectly Formed SQL CODE: CREATE TABLE DEPENDENT_maw

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!