Create one table,
And have multiple rows for each user who joins that class.
You can have one master class table where all the classes are listed and you can have
classUsers table which has all the users who have joined a particular class.
Class I'd can be a reference field in classUsers table