Hi,
I've the following database structure of 4 tables for geographical
information
CREATE TABLE IF NOT EXISTS `mydb`.`country` (
`country_id` INT NOT NULL ,
`country_code` CHAR(2) NOT NULL ,
`name` VARCHAR(255) NOT NULL ,
PRIMARY KEY (`country_id`) ,
UNIQUE INDEX `country_code_UNIQUE` (`country_code` ASC) )
ENGINE = ndbcluster
DEFAULT CHARACTER SET = utf8
COLLATE = utf8_unicode_ci;
CREATE TABLE IF NOT EXISTS `mydb`.`region` (
`region_id` INT NOT NULL ,
`name` VARCHAR(255) NOT NULL ,
`country_code` CHAR(2) NOT NULL ,
PRIMARY KEY (`region_id`) ,
INDEX