BennyLinton
Registered User.
- Local time
- Today, 14:52
- Joined
- Feb 21, 2014
- Messages
- 263
Thanks in advance for any clues on making this query work. I am trying to count the number of applicants in each of 3 categories for a date range so that my datasheet view looks something like this:
Applications Education
_________ _______
27 Phd
134 Masters
259 BA/BS
Here's what I have so far:
SELECT Count(*) AS Applications, dbo_People.education
FROM (dbo_certs INNER JOIN dbo_People ON dbo_certs.peopleId = dbo_People.peopleId)
INNER JOIN dbo_lookupEducation ON dbo_People.Educationid = dbo_lookupEducation.educationId
WHERE (((dbo_certs.ApplicationDate) Between [Beginning Application Date:] And [Ending Application Date:]))
GROUP BY dbo_People.education;
Applications Education
_________ _______
27 Phd
134 Masters
259 BA/BS
Here's what I have so far:
SELECT Count(*) AS Applications, dbo_People.education
FROM (dbo_certs INNER JOIN dbo_People ON dbo_certs.peopleId = dbo_People.peopleId)
INNER JOIN dbo_lookupEducation ON dbo_People.Educationid = dbo_lookupEducation.educationId
WHERE (((dbo_certs.ApplicationDate) Between [Beginning Application Date:] And [Ending Application Date:]))
GROUP BY dbo_People.education;
Last edited: