I have a table that holds enrollment information. I need to know what students have been retained. In the table this will include 3 fields; the studentID, the gradelevel, and the schoolyear.
I need to pull all the students who have been retained; they have the same studentid, the same gradelevel, but different schoolyears.
For example a retained student will have 2 entries:
Studentid gradelevel schoolyear
999 09 2000
999 09 2001
However, I don't want the students who may transfer throughout the year (same gradelevel, same studentid and same schoolyear), like below.
Studentid gradelevel schoolyear
999 09 2000
999 09 2000
I want to do 2 things. One I want to pull out the students who have been retained as a list. then I want to do a count. What's the best way to pull out retained kids?
Thanks in advance for any ideas.J
I need to pull all the students who have been retained; they have the same studentid, the same gradelevel, but different schoolyears.
For example a retained student will have 2 entries:
Studentid gradelevel schoolyear
999 09 2000
999 09 2001
However, I don't want the students who may transfer throughout the year (same gradelevel, same studentid and same schoolyear), like below.
Studentid gradelevel schoolyear
999 09 2000
999 09 2000
I want to do 2 things. One I want to pull out the students who have been retained as a list. then I want to do a count. What's the best way to pull out retained kids?
Thanks in advance for any ideas.J