I am looking on to designing a database in Mysql Workbench... in it, I want tables to handle addresses for users... For example, a user must have a village, a parish, a sub-county, a county and a district.
The village can only exist in a parish, a parish exists in a sub-county, a sub-county exists in a county, a county is exists in a district...
I want to create 4 tables, so that as the admin registers a village, he also registers a parish, as he registers a parish, he registers a sub-county... Such that in the "User_details" table, I only have a villageID as the only Foreign key(representing a user's address)...which will mean that if I get your village, then I will know the whole address... How do I connect the tables? Thanks