Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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);
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Handbook Of Relational Database Design

Authors: Candace C. Fleming, Barbara Von Halle

1st Edition

0201114348, 978-0201114348

More Books

Students also viewed these Databases questions

Question

7-2 What are the different types of networks?

Answered: 1 week ago