Questions tagged [many-to-many]

147 questions
3
votes
1 answer

Three tables joined by a many-to-many relationship?

I'm working on creating a db model for the following requirements: I have many Types that have many different Statuses. Depending on the Type and Status, the Status can have certain SubStatuses. So let's say I have Type 1 with Status A, that has…
JAck28
  • 133
  • 3
1
vote
1 answer

Student and Course Relationship - Grade and Attendance

I was reading on this DBA page, about Student and Course relationship, and the use of a junction table. Suppose I wanted to do two things: Include the student grade for each course Allow the professor to generate an attendance sheet of students I…
user136605
0
votes
1 answer

Chained two Many-to-Many relations

I have the following case, which I can only describe as a chain of two many-to-many relationships: There are three business entities (tables) and two junction tables: Orders Products Features Orders has a many-to-many relation with Products through…
SaidbakR
  • 101
  • 2