psychopath
Member
- Joined
- Jan 16, 2004
- Messages
- 67
- Gender
- Male
- HSC
- 2006
hey guys i dun get how to make an ER diagram
Students helping students, join us in improving Bored of Studies by donating and supporting future students!
ic but what about TBLPositions Primary key? is that foreing in The other DB?Originally posted by lil_star
firstly u are confused with primary, secondary and foreign keys....primary key is the unique key in the ''main'' table as PotentialEmpID in the TBLPotentialEmployee while PotentialEmpID wud be a foreign key in the TBLPostions
The definitions are as follows:
o Single Key is a field which each item of data is unique
o Composite Key/Compound Key is made by joining two or more keys together
o Primary Key is a key that uniquely identifies records in a table
o Secondary Key is a field that contains useful data often used in searches.
im attaching the file with the schema
also it will be a many to many relationship as....
MANY potential employees have MANY prospected positions
and
MANY prospected positions have MANY potential employees....that is vice versa...MANY to MANY!
Wait a second.............Originally posted by lil_star
firstly u are confused with primary, secondary and foreign keys....primary key is the unique key in the ''main'' table as PotentialEmpID in the TBLPotentialEmployee while PotentialEmpID wud be a foreign key in the TBLPostions
The definitions are as follows:
o Single Key is a field which each item of data is unique
o Composite Key/Compound Key is made by joining two or more keys together
o Primary Key is a key that uniquely identifies records in a table
o Secondary Key is a field that contains useful data often used in searches.
im attaching the file with the schema
also it will be a many to many relationship as....
MANY potential employees have MANY prospected positions
and
MANY prospected positions have MANY potential employees....that is vice versa...MANY to MANY!