SELECT Фамилия, SUM(ABS((Данные1>700 AND Данные1<800))) AS N1, SUM(ABS((Данные2>700 AND Данные2<800))) AS N2, SUM(ABS((Данные3>700 AND Данные3<800))) AS N3 FROM Таблица GROUP BY Фамилия
SELECT [Фамилия], Abs(Sum([Данные1]>700 And [Данные1]<800)) AS cd1, Abs(Sum([Данные2]>700 And [Данные2]<800)) AS cd2, Abs(Sum([Данные3]>700 And [Данные3]<800)) AS cd3 FROM Tab GROUP BY [Фамилия];