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:
DELETE FROM teacher WHERE dept_name IN ‘CSE’;
DELETE FROM department WHERE building = ‘CSE’;
DELETE FROM teacher WHERE dept_name IN ( SELECT dept_name FROM department WHERE building = ‘CSE);
64.3k questions
77.9k answers
244k comments
80.0k users