Suggestions for MySQL table -


students ------- name age email cola colb colc  teachers ------- name age email cold cole  parents ------- name age email colf colg colh coli 

for above design, should create 1 table additional column called user_type or create 3 tables? there millions of data insert. m worried performance if use 1 table them. need suggestions mysql gurus out here.

please advise. thanks.

if design table, rather in 2 tables.

usertype

- typeid (primary key) - typedescription 

user

- userid (primary key) - typeid (foreign key) - cola (nullable) - colb (nullable) - colc (nullable) - cold (nullable) - cole (nullable) - colf (nullable) - colg (nullable) - colh (nullable) - coli (nullable) 

Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -