For the corresponding class to each student's name, we join the tables based on a common property like id.
class
name
id
Make sure to pick id, followed by id.