Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Given the following tables and records: mysql > select * from Emp; + - - - - - + - - - - - -
Given the following tables and records:
mysql select from Emp;
cid cname salary pid
Mary
Tom
Sam
mysql select from Prj;
pid pname
Java
Python
Web
If we want to have a foreign key without CASCADE relationship between the Emp and Prj tables, which answer is FALSE?
Given the following tables and records:
mysql select from Emp;
cid cname salary pid
Mary
Tom
Sam
mysql select from Prj;
pid pname
Java
Python
Web
If we want to have a foreign key without CASCADE relationship between the Emp and Prj tables, which answer is FALSE?
The two pid columns must have the same data type.
It is not necessary to remove the record with Sam in the Emp table before we define the foreign key relationship.
The pid column in the Prj table must be the primary key.
The foreign key statement should be defined in the Prj table.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started