ISRO CS-2023
August 29, 2024
ISRO CS-2023
August 29, 2024
ISRO CS-2023
August 29, 2024
ISRO CS-2023
August 29, 2024

ISRO CS-2023

Question 28
Which of the following SQL query deletes all tuples in the teacher relation for those teachers associated with a department located in the building with name CSE and which is in department relation:
A
DELETE FROM teacher WHERE dept_name IN ‘CSE’;

B
DELETE FROM department WHERE building-‘CSE’;
C
DELETE FROM teacher WHERE dept_name IN (SELECT dept_name FROM department WHERE building = ‘CSE);
D
None of the above
Correct Answer: C

Leave a Reply

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