G
Giovanni
Hi
I have got a problem in establishing the relationship between the tables of
my database. I am creating a database where to put different informations
regarding different agencies in europe and the same agencies in the world.
I have created 7 different tables and each one of them has several field:
-1st- Table (would I choose this one as a mother table?):
"European contact" contain the following field:
ID (I have choosen it as primary key, Is that correct?), Agency name,
Contry, postal address, e-mail, etc...
-2nd- Table (son table):
"Region of operation" contain the following fields:
ID (I have choosen it as primary key, Is that correct?), Region of operation
1(Africa), R. of operation 2(Americas), R. of operation 3(Asia), R. of
operation 4(Europe), R. of operation 5(Asia), etc...
-3thd- Table (son table):
"Country of operation Africa" contain the following field:
ID (I have choosen it as primary key, Is that correct?), Region of operation
1(Africa), form this point a have assigned for each field the name of the
africans countries (I have used as data type yes or not option for those
field, is it the best choice?).
-4,5,6,7th- Tables (sons tables):
I have used the same criteria as the "country of operation in africa" but
referring to the other continents such as America- Asia, Europe, Oceania).
What I might want to know is if I have choose the useful primaries keys.
What kind of relationship should I build in order to be able to perform all
the researches I need in the future between the fied of each table?
I hope I have been clear enough if not I will re-write the question again.
Best regards
Giovanni
I have got a problem in establishing the relationship between the tables of
my database. I am creating a database where to put different informations
regarding different agencies in europe and the same agencies in the world.
I have created 7 different tables and each one of them has several field:
-1st- Table (would I choose this one as a mother table?):
"European contact" contain the following field:
ID (I have choosen it as primary key, Is that correct?), Agency name,
Contry, postal address, e-mail, etc...
-2nd- Table (son table):
"Region of operation" contain the following fields:
ID (I have choosen it as primary key, Is that correct?), Region of operation
1(Africa), R. of operation 2(Americas), R. of operation 3(Asia), R. of
operation 4(Europe), R. of operation 5(Asia), etc...
-3thd- Table (son table):
"Country of operation Africa" contain the following field:
ID (I have choosen it as primary key, Is that correct?), Region of operation
1(Africa), form this point a have assigned for each field the name of the
africans countries (I have used as data type yes or not option for those
field, is it the best choice?).
-4,5,6,7th- Tables (sons tables):
I have used the same criteria as the "country of operation in africa" but
referring to the other continents such as America- Asia, Europe, Oceania).
What I might want to know is if I have choose the useful primaries keys.
What kind of relationship should I build in order to be able to perform all
the researches I need in the future between the fied of each table?
I hope I have been clear enough if not I will re-write the question again.
Best regards
Giovanni