Let's look at what happens with multiple matches.

We've added one more row to enrolled. The id value 1008 is now enrolled in two classes.