- 6
- 0
- 约1.73万字
- 约 17页
- 2017-08-03 发布于河南
- 举报
数据库原理例题(Examples of Database Principles)
BR (library card number, name, unit, telephone, press press, ISBN, title, address, loan date)
1) according to the semantics expressed by the model, use the arrow to indicate the different dependencies among the attributes in the pattern. What is the main keyword? Is the BR paradigm level?
2) standardize BR to 3NF
1. BR (card number, name, unit, telephone, press press, ISBN, title, address, loan date)
Dependencies in:
Library card number / name, card number / unit, library card number / telephone
The title / ISBN, ISBN -- -- press press, ISBN.
(card number, title) / loan date
The 2. primary key is: (library card number, title)
3. BR is 1NF now.
4. Standardize:
(library card number, readers name, unit, telephone number)
(title, publisher, publisher address)
(card number, number, loan date)
Library card number / name / unit, library card number / name / phone
Press press. ISBN --
These are called transfer function dependencies, and to achieve 3NF, you also need to eliminate transfer function dependencies, and update patterns should be
Standardize:
(library card number, readers name)
(readers name, unit, telephone)
(title, publisher)
(publisher, publisher address)
(card number, number, loan date)
Library card number, name, unit, telephone, press press, ISBN, title, address, loan date
1. press 1NF to determine the unique primary key (PK): library card number (PK)
Because only 1. library card number only, can have the same name as the reader, the celebrity, the same person can have more than one card, etc.
2., the library card number is the primary key, so that the table does not exist redundant columns
2., according to 2NF requirements, refining table, set the external key (FK):
Table 1: library card number (PK), readers name, unit, telephone number
Table 2: library card number (PK, FK), ISBN (PK, FK), loan date
Table 3: (PK) ISBN, title, press, press.
3. according to the 3NF requirements in Table 3, press information depends o
您可能关注的文档
- 我的小学作文课(My primary school composition lesson).doc
- 我的学车故事(My story starts).doc
- 我的载体构建心得(My carrier construction experience).doc
- 我的自我评价英文简历(My self-assessment English resume).doc
- 我对贝多芬的理解(My understanding of Beethoven).doc
- 我的渣打银行实习经历(内含四大求职面经(My internship with Standard Chartered Bank (including four job applicants)).doc
- 我对自己总是没信心感觉自己很失败!(I always have no confidence in myself, I feel I am a failure!).doc
- 我对体育新课改的理解(My understanding of the new curriculum reform in Physical Education).doc
- 我国标准化发展战略及相关支持政策(Standardization development strategy and related supporting policies in China).doc
- 我国产品质量监管体制的现状_问题及对策(_ status problems and Countermeasures of our product quality supervision system).doc
最近下载
- LTC流程培训课件.pptx VIP
- 2026年郑州工业安全职业学院单招职业适应性测试题库及答案1套.docx VIP
- 【小升初】2023-2024学年江苏省南通市苏教版升学分班考数学模拟测试题2套(含解析).pdf VIP
- 安徽省考试录用公务员公安类真题及参考答案.doc VIP
- 人教版(2024)八年级上册英语全册各单元阅读理解练习题汇编(含答案).docx
- 36岁儿童学习与发展指南解读.doc VIP
- 2026年郑州工业安全职业学院单招职业技能考试题库及答案详解1套.docx VIP
- 《国家标准》羊肉分割技术规范.doc VIP
- EPSS怡达快速电梯TRE110电气原理图纸(2014版).pdf
- 2026年郑州工业安全职业学院单招职业技能测试题库及答案1套.docx VIP
原创力文档

文档评论(0)