EXISTS里的查询写错了 你这样写是查插入的数据,那当然存在了 用下面这句select s.name from student s where s.Name in (select i.Name from inserted)