Which of the following SQL queries deletes all tuples in the teacher relation…
PYQ ISRO Scientist/Engineer SC 2023
Which of the following SQL queries deletes all tuples in the teacher relation for teachers associated with a department located in the building named 'CSE', as recorded in the department relation?
- A.
DELETE FROM teacherWHERE dept_name IN 'CSE'; - B.
DELETE FROM departmentWHERE building = 'CSE'; - C.
DELETE FROM teacherWHERE dept_name IN (SELECT dept_nameFROM departmentWHERE building = 'CSE'); - D.
None of the above
Attempted by 534 students.
Sign up free to check your answer
Sign up freeLoading lesson…

