CREATE TRIGGER [student_delete] ON [student] 
FOR DELETE 
AS
	delete baseinfo
		where ѧ not in (select ѧ from student)
