Re: Help with Many to Many Relationships
Posted by: Peter Brawley
Date: March 24, 2011 11:31AM

An instructor can be a reader, a student can become an instructor, &c. So consider using the inherently flexible concept of role ...

persons(id pk, fname, lname, ... )

role(id pk, teacher/ta/student/&c, ... )

class(id pk,name,year,semester,description,location, &c... )

class_participants(id pk, classid references class(id), personid references persons(id), roleid references roles(id), ... )

PB
http://www.artfulsoftware.com

Options: ReplyQuote


Subject
Written By
Posted
Re: Help with Many to Many Relationships
March 24, 2011 11:31AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.