Hi everyone, What would be the best way of representing this relation between Countries, States and Cities.
1-
tblCountries
countID(PK), countName
tblCountries_States
countID, stateID
tblStates
stateID(PK), stateName
tblStates_Cities
stateID, cityID
tblCities
cityID(PK), cityName
OR is this way better
2-
tblCountries
countID(PK), countName
tblSates
stateID(PK), stateName, countID(FK)
tblCities
cityID(PK), cityName, stateID(FK), countID(FK)
Why would one design be preferred to the other?
Thanks
1-
tblCountries
countID(PK), countName
tblCountries_States
countID, stateID
tblStates
stateID(PK), stateName
tblStates_Cities
stateID, cityID
tblCities
cityID(PK), cityName
OR is this way better
2-
tblCountries
countID(PK), countName
tblSates
stateID(PK), stateName, countID(FK)
tblCities
cityID(PK), cityName, stateID(FK), countID(FK)
Why would one design be preferred to the other?
Thanks