MySQL Forums
Forum List  »  Newbie

Re: How to store data for person who has resided in multiple residences and residences with multiple occupants
Posted by: Peter Brawley
Date: June 11, 2014 12:44PM

It's a many-many relationship and you model it with a bridge table, eg persons_residences(personid,residenceid) with a row for each person-residence pair.



Edited 1 time(s). Last edit at 06/11/2014 01:52PM by Peter Brawley.

Options: ReplyQuote


Subject
Written By
Posted
Re: How to store data for person who has resided in multiple residences and residences with multiple occupants
June 11, 2014 12:44PM


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.