用工具添加表和约束,就能看到相应的语句了。 表达式树不知是什么 select 学号, 姓名 from Students where not exists (select 1 from sc where students.学号 = sc.学号 and sc.课程号 in (select 课程号 from Courses where 课程名 = '数据库