Ver Mensaje Individual
  #1 (permalink)  
Antiguo 07/09/2010, 06:49
guif
 
Fecha de Ingreso: julio-2005
Mensajes: 140
Antigüedad: 18 años, 8 meses
Puntos: 0
Diseño de la estructura de una BBDD

Estoy intentando crear la relacion entre las siguientes tablas, pero necesito ayuda a nivel conceptual.
Tengo las siguientes tablas: REGION > SUBREGION > COUNTRY > CITY

Tengo lo siguiente:

Código:
CREATE TABLE REGION(
	REGION	VARCHAR(2),
	REGION_NAME VARCHAR(200),
);
Valores:

REGION REGION_NAME
1 Africa
2 Americas
3 Antarctica

Código:
CREATE TABLE SUBREGION(
	SUBREGION VARCHAR(2),
	SUBREGION_NAME VARCHAR(200),
);
Valores:

SUBREGION SUBREGION_NAME
1A Central Africa
1B Eastern Africa
1C Indian Ocean
1D Northern Africa


Código:
CREATE TABLE CITIES(
	CC_FIPS VARCHAR(2),
	FULL_NAME_ND VARCHAR(200),
);
Valores:

CC_FIPS FULL_NAME_ND
AA Angochi
AA Arasji
AA Babijn
AA Balashi
AA Barcelona


Código:
CREATE TABLE COUNTRIES(
	CC_FIPS VARCHAR(2),
	COUNTRY_NAME VARCHAR(100),
);
Valores:

CC_FIPS COUNTRY_NAME
AA Aruba
AC Antigua and Barbuda
AE United Arab Emirates
AF Afghanistan




Alguien me puede ayudar haciendo las relaciones?
Gracias!