Hello,
If I have a table with duplicate fields (studentID):
studentID Year
a 2005
a 2006
a 2006
b 2006
b 2007
b 2007
Is there query that would give me the count of students by year? Note that the duplicates have to be excluded.
So the resulting table would be:
Year studentCount
2005 1
2006 2 (and NOT 3)
2007 1 (and NOT 2)
Thank you very much
If I have a table with duplicate fields (studentID):
studentID Year
a 2005
a 2006
a 2006
b 2006
b 2007
b 2007
Is there query that would give me the count of students by year? Note that the duplicates have to be excluded.
So the resulting table would be:
Year studentCount
2005 1
2006 2 (and NOT 3)
2007 1 (and NOT 2)
Thank you very much