Hi,
I'm a newbie setting up a PHP-MySQL database and I'm just at the table creation stage. I'm worried because I have two tables that are showing the same info so I wonder if my database is truly normalized... Here are the tables I am worred about... so far:
-Instructor-
InstructorID
iFirstname
iLastname
iEmail
-Student-
StudentID
sFirstname
sLastname
sEmail
-Instructor_useraccount-
Instructor_useraccountID
InstructorID
iPassword
iPriviledge
iActivationDate
iExpiryDate
iLastaccess
-Student_useraccount-
Student_useraccountID
studentID
sPassword
sPriviledge
sActivationDate
sExpiryDate
sLastaccess
I'm wondering if I can use one "USERAccount table" and add a foreign key of USERID to both the Student table and the Instruction rather than the way I've done it.
I was also thinking I could add all the user_account info to each of the Instructor and Student tables.
What are the advantages/disadvantages to the various approaches?
I hope help is on the way...I've so much further to go!
thnx,
Sue