I took a look at your database. The problem with the table CANDIDATE is that you have the 2 records that have Treasurer as position, for one you have it spelled: Treasurer and for the other record it is spelled Treasurer... That is it has 2 or 3 dots at the end of it. Therefore, when you were trying to group the records by POSITION, they are going to be 2 groups instead of one. If after you make that correction and have problems with your code, then come back for some more help. That is the reason why I have been asking you to upload your database. Sometimes, it is the little things that drive insane.