I’m working on an application which has different types of users i.e. students, tutors, and administrators. However, I initially set up my database to have only two tables: Users (that holds all the login information, common to all types) and Profiles (that holds all other information; though each column applies to a certain type of user).
I was thinking maybe I should have Users, and 3 separate tables for each type i.e. Students, Tutors, and Administrators. However, how do I link those three tables with Users table? I’m sure there would be a bridge table but I’m not too sure how to do that.
This should be a solid starting point for you. Define the tables which it sounds like you are ok with, then apply the relationships using the ALTER TABLE command. See below.