Hi,
I was hoping someone could help me with a table design issue. What I would like to create is something that will have a Country, Province, City and then a list of all the Regions (specific area's of the city.. example: West End).
So an example table design follows:
Create table locations (
Id auto increment
Country
Province
City
Region
);
Some example records would look like this.
1, Canada, Alberta, Calgary, North East
2, Canada, Alberta, Calgary, North West
3, Canada, Alberta, Calgary, South East
I know this is a bad idea for table normalization but what is a better way to build a Trees & Hierarchies in SQL??
I want to create a list of all the cities across Canada. So there will be MANY records!