ElcoyotldeAztlan
Registered User.
- Local time
- Yesterday, 23:58
- Joined
- Jul 15, 2017
- Messages
- 43
Hello Everyone
I have question about filling in ID numbers to connect two tables to together using a Many to One Relation ship. I have been working on a database with data I was assigned to import into certain tables from here I'm supposed to make it all connect. I often use the query design to easily get IDs from an imported Excel sheet which I broke up into tables, with the query results I can then simply copy and paste into each Id fields which has been great However i have can across an issue. On a certain section of the data base I'm getting data from another excel table which means the same amount of rows is different from the new Excel sheet.
I have two tables
One has information about Cities and different time periods
For Example
There are over 2000 cities however a city can have too different time periods thus creating two separate identities City A in 1950 and City A in 2000 and so on with the other cities and time,
This table then has a field to connect GPS information from another table.
The other table that has the GPS (coordinates) information is also has a field to connect back to the 1st table.
the issues is there is only one set of coordinates for each city. So the amount of GPS coordinates come to around 200 (which means there are only 200 cities in reality) ,but they need to connect to the 2000 different time periods. Is there a way to connect the first table with the other table using the city name field as a way to connect the two? Or is this just bad design and needs a major redesign?
In the past I was able to get IDs because of the 1st Excel sheet was split into many tables and I was able to match those IDs because there was the same amount of rows (data was coming from one Excel sheet) now with this new excel sheet I think its more complicated,
What are your thoughts
Thanks
I have question about filling in ID numbers to connect two tables to together using a Many to One Relation ship. I have been working on a database with data I was assigned to import into certain tables from here I'm supposed to make it all connect. I often use the query design to easily get IDs from an imported Excel sheet which I broke up into tables, with the query results I can then simply copy and paste into each Id fields which has been great However i have can across an issue. On a certain section of the data base I'm getting data from another excel table which means the same amount of rows is different from the new Excel sheet.
I have two tables
One has information about Cities and different time periods
For Example
There are over 2000 cities however a city can have too different time periods thus creating two separate identities City A in 1950 and City A in 2000 and so on with the other cities and time,
This table then has a field to connect GPS information from another table.
The other table that has the GPS (coordinates) information is also has a field to connect back to the 1st table.
the issues is there is only one set of coordinates for each city. So the amount of GPS coordinates come to around 200 (which means there are only 200 cities in reality) ,but they need to connect to the 2000 different time periods. Is there a way to connect the first table with the other table using the city name field as a way to connect the two? Or is this just bad design and needs a major redesign?
In the past I was able to get IDs because of the 1st Excel sheet was split into many tables and I was able to match those IDs because there was the same amount of rows (data was coming from one Excel sheet) now with this new excel sheet I think its more complicated,
What are your thoughts
Thanks