免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2485 | 回复: 0
打印 上一主题 下一主题

急急求救...关于entity-relationship diagram的CASE...急! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-01-17 13:41 |只看该作者 |倒序浏览
The following information relates to a Catering Company.

“We hire out marquees (tents), tables, chairs, crockery, linen and other equipment for various events such as parties and weddings.  The information we hold on our customers includes customer number, name and address and the events held by our customers (identification, date and location).

We normally stock several duplicates of the same piece of equipment (e.g. we hold 2000 plain white soup bowls and 20 large marquees). All items have a unique stock number and details are kept of quantities of all items stocked.  Large items (e.g. marquees) also have unique identity numbers and, when hired out, we records which item(s) the customer has taken for a particular event. For smaller items (such as plates) there are no individual identity numbers.  Again we record the quantity of these items hired for particular events using the stock number as identification.

Large  items are sometimes sent to a repair company (assume one only) and we record, for each repair, the details of the damage, the date when the item was sent, the details of the repair made and the cost.

Each type of equipment has one preferred supplier where we go to get replacements. Details are held of the supplier number, name, address and contact person”





1.        Describe all relevant entities and their associated attributes.
2.        Draw an entity-relationship diagram, clearly showing all relationships (i.e. 1-1, 1-M, N-M) between the entities as well as the Mandatory and Optional participating conditions.  (Remember all M-N relationships should be decomposed into two 1_M relationships)
3.        Map the entities and relationship from 2 above into a set of relational tables.
4.        Define the primary key for each of the tables from 3 above.
5.        By drawing determinacy diagrams for each table from 3 above, show that each table is fully normalized.
6.        Define the foreign keys for each table.  
      The solutions to all of the above tasks should be submitted in the form of a report.



根据前面的阅读材料回答后面6个问题...最好可以用VISIO..
朋友急求..才放到这里...希望会的朋友帮忙..在此感谢了...
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP