Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  Consider the following tables T1 and T2:n tab... Start Learning for Free
Consider the following tables T1 and T2:
n table T1, P is the primary key, Q is the foreign key referencing R in table T2 with on-delete cascade and on-update cascade. In table T2, R is the primary key and S is the foreign key referencing P in the table T1 with on-delete set NULL and on-update cascade. In order to delete record (3,8) from table, numbers of additional record that need to be deleted from table T1 is ______. Note: This question appeared as Numerical Answer Type.
  • a)
    0
  • b)
    1
  • c)
    2
  • d)
    3
Correct answer is option 'A'. Can you explain this answer?
Verified Answer
Consider the following tables T1 and T2:n table T1, P is the primary k...
Given,
  • Q → R(Primary Key)
  • S → P (Primary Key)
Entry to be deleted - P (3) and Q(8)
  • Q can be deleted directly
  • Now, S → P but the relationship given is on delete set NULL, Therefore when  we delete 3 from  T1 ,the  entry in T2 having 3 will be NULL.
Therfore, Option A  - Answer is 0 entries
View all questions of this test
Most Upvoted Answer
Consider the following tables T1 and T2:n table T1, P is the primary k...
Given,
  • Q → R(Primary Key)
  • S → P (Primary Key)
Entry to be deleted - P (3) and Q(8)
  • Q can be deleted directly
  • Now, S → P but the relationship given is on delete set NULL, Therefore when  we delete 3 from  T1 ,the  entry in T2 having 3 will be NULL.
Therfore, Option A  - Answer is 0 entries
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Consider the following tables T1 and T2:n table T1, P is the primary key, Q is the foreign key referencing R in table T2 with on-delete cascade and on-update cascade. In table T2, R is the primary key and S is the foreign key referencing P in the table T1 with on-delete set NULL and on-update cascade. In order to delete record (3,8) from table, numbers of additional record that need to be deleted from table T1 is ______. Note: This question appeared as Numerical Answer Type.a)0b)1c)2d)3Correct answer is option 'A'. Can you explain this answer?
Question Description
Consider the following tables T1 and T2:n table T1, P is the primary key, Q is the foreign key referencing R in table T2 with on-delete cascade and on-update cascade. In table T2, R is the primary key and S is the foreign key referencing P in the table T1 with on-delete set NULL and on-update cascade. In order to delete record (3,8) from table, numbers of additional record that need to be deleted from table T1 is ______. Note: This question appeared as Numerical Answer Type.a)0b)1c)2d)3Correct answer is option 'A'. Can you explain this answer? for Computer Science Engineering (CSE) 2024 is part of Computer Science Engineering (CSE) preparation. The Question and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus. Information about Consider the following tables T1 and T2:n table T1, P is the primary key, Q is the foreign key referencing R in table T2 with on-delete cascade and on-update cascade. In table T2, R is the primary key and S is the foreign key referencing P in the table T1 with on-delete set NULL and on-update cascade. In order to delete record (3,8) from table, numbers of additional record that need to be deleted from table T1 is ______. Note: This question appeared as Numerical Answer Type.a)0b)1c)2d)3Correct answer is option 'A'. Can you explain this answer? covers all topics & solutions for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for Consider the following tables T1 and T2:n table T1, P is the primary key, Q is the foreign key referencing R in table T2 with on-delete cascade and on-update cascade. In table T2, R is the primary key and S is the foreign key referencing P in the table T1 with on-delete set NULL and on-update cascade. In order to delete record (3,8) from table, numbers of additional record that need to be deleted from table T1 is ______. Note: This question appeared as Numerical Answer Type.a)0b)1c)2d)3Correct answer is option 'A'. Can you explain this answer?.
Solutions for Consider the following tables T1 and T2:n table T1, P is the primary key, Q is the foreign key referencing R in table T2 with on-delete cascade and on-update cascade. In table T2, R is the primary key and S is the foreign key referencing P in the table T1 with on-delete set NULL and on-update cascade. In order to delete record (3,8) from table, numbers of additional record that need to be deleted from table T1 is ______. Note: This question appeared as Numerical Answer Type.a)0b)1c)2d)3Correct answer is option 'A'. Can you explain this answer? in English & in Hindi are available as part of our courses for Computer Science Engineering (CSE). Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free.
Here you can find the meaning of Consider the following tables T1 and T2:n table T1, P is the primary key, Q is the foreign key referencing R in table T2 with on-delete cascade and on-update cascade. In table T2, R is the primary key and S is the foreign key referencing P in the table T1 with on-delete set NULL and on-update cascade. In order to delete record (3,8) from table, numbers of additional record that need to be deleted from table T1 is ______. Note: This question appeared as Numerical Answer Type.a)0b)1c)2d)3Correct answer is option 'A'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of Consider the following tables T1 and T2:n table T1, P is the primary key, Q is the foreign key referencing R in table T2 with on-delete cascade and on-update cascade. In table T2, R is the primary key and S is the foreign key referencing P in the table T1 with on-delete set NULL and on-update cascade. In order to delete record (3,8) from table, numbers of additional record that need to be deleted from table T1 is ______. Note: This question appeared as Numerical Answer Type.a)0b)1c)2d)3Correct answer is option 'A'. Can you explain this answer?, a detailed solution for Consider the following tables T1 and T2:n table T1, P is the primary key, Q is the foreign key referencing R in table T2 with on-delete cascade and on-update cascade. In table T2, R is the primary key and S is the foreign key referencing P in the table T1 with on-delete set NULL and on-update cascade. In order to delete record (3,8) from table, numbers of additional record that need to be deleted from table T1 is ______. Note: This question appeared as Numerical Answer Type.a)0b)1c)2d)3Correct answer is option 'A'. Can you explain this answer? has been provided alongside types of Consider the following tables T1 and T2:n table T1, P is the primary key, Q is the foreign key referencing R in table T2 with on-delete cascade and on-update cascade. In table T2, R is the primary key and S is the foreign key referencing P in the table T1 with on-delete set NULL and on-update cascade. In order to delete record (3,8) from table, numbers of additional record that need to be deleted from table T1 is ______. Note: This question appeared as Numerical Answer Type.a)0b)1c)2d)3Correct answer is option 'A'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice Consider the following tables T1 and T2:n table T1, P is the primary key, Q is the foreign key referencing R in table T2 with on-delete cascade and on-update cascade. In table T2, R is the primary key and S is the foreign key referencing P in the table T1 with on-delete set NULL and on-update cascade. In order to delete record (3,8) from table, numbers of additional record that need to be deleted from table T1 is ______. Note: This question appeared as Numerical Answer Type.a)0b)1c)2d)3Correct answer is option 'A'. Can you explain this answer? tests, examples and also practice Computer Science Engineering (CSE) tests.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Explore Courses
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev