I've got three tables: Users, Classes, Registration. The Registrations table is my join table between Users and Classes. The fields are pretty simple.
Users: UserID
Registration: RegistrationID, UserID, ClassID
Classes: ClassID
I need to identify which users have not registered for which classes, listed by class.
I can show users that have registered by class and I can get which users have not registered for a single class, but I need each class listed showing each user that hasn't registered for that class.
It may be a simple, but for some reason I can't get my mind around how to connect the Classes table with users that haven't registered.
Any help?
Users: UserID
Registration: RegistrationID, UserID, ClassID
Classes: ClassID
I need to identify which users have not registered for which classes, listed by class.
I can show users that have registered by class and I can get which users have not registered for a single class, but I need each class listed showing each user that hasn't registered for that class.
It may be a simple, but for some reason I can't get my mind around how to connect the Classes table with users that haven't registered.
Any help?