I am trying to find potential duplicates in a many-to-many join in a SQL Server database. I have a database of students attending classes and have the following tables: Less