Database-Management-System
August 29, 2024
Database-Management-System
August 29, 2024
Database-Management-System
August 29, 2024
Database-Management-System
August 29, 2024

Database-Management-System

Question 668
Consider the database state for the two tables given below:

SQL query- INSERT INTO DEPT(Dname,Dnum,Mgr_SSn) VALUES (Dept2,3,Mgr3)
Is rejected because of
A
Duplication of department name
B
Incorrect Mgr_SSN
C
Violation of referential Integrity
D
Violation of entity integrity
Question 668 Explanation: 
→Dnum is common field of two tables which may be foreign key.
→Inserting new row in the first table gives some null entries in the second table which is violation of referential integrity
Correct Answer: C
Question 668 Explanation: 
→Dnum is common field of two tables which may be foreign key.
→Inserting new row in the first table gives some null entries in the second table which is violation of referential integrity

Leave a Reply

Your email address will not be published. Required fields are marked *