Many-one Mapping

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yasmine
    New Member
    • Feb 2008
    • 64

    Many-one Mapping

    Hi friends,

    Can anyone tell me how can I do many to one mapping in MySQL?

    That is what i'm asking is,
    for example,
    there is a single supervisor for 12 associates, then how can I do many to one mapping (Associates to Supervisor) for providing a single feedback to all the associates.
    How should i create database structure for this????

    Plz....Help me out.........

    Thanx n Regards
    Yas
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    You should have a supervisor column in the associates table and add self reference to supervisor column.

    Comment

    Working...