基本上我正在尝试通过某个子程序创建所有活跃学生的查询。现在有一些学生在“CBB”我不想要我的查询。我怎么能做这个查询并让这些学生不想要它或我需要查询的少数几个?
SELECT [Student Contact].[First Name], [Student Contact].[Last Name], [Student Contact].BannerID,
[Basic Milestones].[Subprogram/ Training Area], [Basic Milestones].Adv1,
[Student Contact].Status
FROM [Basic Milestones] INNER JOIN
[Student Contact]
ON [Basic Milestones].BannerID = [Student Contact].BannerID
WHERE ((([Basic Milestones].[Subprogram/ Training Area])="Biology" Or
([Basic Milestones].[Subprogram/ Training Area])="Behavioral and Cognitive Neuroscience" Or
([Basic Milestones].[Subprogram/ Training Area])="Neuro (B) " Or
([Basic Milestones].[Subprogram/ Training Area])="CBB") AND (([Student Contact].Status)="active"));