I am currently working on a project where we have 2 types of users.
I have a general Users table for their User_ID, user_name, etc all the data that is similar for both users.
I looked online and found that its common to make 2 separate tables and just have the differences in these tables.
Since now I have two tables (A and B), my primary key cannot be the same as my User_ID as I have 2 databases. If User 1 created account A it would match, but if User 2 created account B, the User_ID is 2 while the primary key in the table would be 1.
Is it best to manually set the primary key to be the same as the user_ID? Or what is the best way to handle this?