DELETE FROM dataflair_emp1 WHERE emp_id IN ( SELECT emp_id FROM dataflair_emp2 WHERE age=25); select * from dataflair_emp1;