简体   繁体   中英

Entity-relationship diagram

I am very confused with one of the questions for my coming exam in databases.

I am given a scenario with details. First question is:

Draw an entity-relationship (ER) diagram for this problem, clearly labelling the entities and relationships and showing the cardinalities of the relationships. Include the primary keys of each entity."

I am fine with this however I really don't get the second question:

"Identify the main attributes for each entity and relationship of your ER diagram and include any foreign keys needed. Hence derive a set of relations for the model.

Could someone please explain what is required for second question?

I think question 2 contains question 1 and a bit more.

In question 2, in addition to identifying the main attributes, you need to identify any other foreign key attributes that are not already in the problem. Then you need to use these new attributes to create more relationships.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM