Hi everyone!
I'm building my first database and I so far, I've created a bunch of tables with different fields to go with them. I think I've stumbled on the first decision to which I'm not sure what the right path would be to follow. What I'm attempting to do is this:
1) I'm building a database to keep track of the costumers' contact information, and charges of a water distribution company.
2) I have a table that keeps the ServiceID (Primary Key) and the address of the place to which the water is delivered.
3) There's another table that keeps the Info the costumers. The fields are: CostumerID (Primary Key), FirstName, LastName, InitialDate (the date they became costumers, for example when they bought the house), EndDate (the date they sold the house).
Even though it may be a little unlikely for the situation to arise, I would like to add the flexibility to accomodate the possibility of the person A to sell the house to the person B and then some time later, the person B to sell the house not to a person C (completely another invividual) but again to person A (the original owner). My dilemma here is to decide whether to create another CostumerID (for the person A who's rebuying the house) or to build another table in which I'd include the CostumerID as a foreing key and have other fields for the Initial Date and End Date (the period(s) that the person A might own the house). I'll like to build the same flexibility for the contact info, billing info and so on (because this kind of info it's even likelier to change with time).
Thanks a lot for any help!
4) I'll build another table to keep the costumers' contact information. The fields will be: Id_Costumer (foreign key to link the info to the constumers' table), Type of contact (House phone, work phone, cell phone, email, etc) to be chosen from a drop down list (from a Type of contacts table)