I am creating a database where different properties of a single object are measured via different sources. I have a table containing list of sources along with source description and source ID. I want to create a table which will list which source I am going to use for which particular measurement for a particular object. So in this table I will have a field for objectID and the propertys which I am going to measure. For each property I want to map a sourceID. The following diagram describes my design
I would like to know what kind of mapping will I have in this case? It appears to me that I will have to map each individual property column in Object table to sourceID in source table. With this I will have multiple 1:n mappings. Is that alright? I am using MySQL workbench. Please tell if this can be designed in a better way.
EDIT#1 For each object I would like to query which is the source for a particular "property" field. After getting this info, I will log data for that particular property in a different table using the given source.
If you look at your first statement
"...properties of a single object are measured via different sources..."
you can actually see straight away that you are probably looking for 3 tables. The Source table you propose looks fine. I suggest that Object table though look more like
Your third table is your Measurement table, which could conceivably look like this
The benefits here are
Then you can get a list of results, if you then do