下载此文档

数据库原理例题ExamplesofDatabasePrinciples.doc


文档分类:IT计算机 | 页数:约14页 举报非法文档有奖
1/14
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/14 下载此文档
文档列表 文档介绍
数据库原理例题(Examples of Database Principles)
BR (library card number, name, unit, telephone, press press, ISBN, title, addrstandardize:
Table 3: ISBN (PK, FK), title, press (PK, FK)
Table 4: Press (PK), press address
Final:
Table 1: library card number (PK), reader's name, unit, telephone number
Table 2: library card number (PK, FK), ISBN (PK, FK), loan date
Table 3: ISBN, title, press (PK) (PK, FK)
Table 4: Press (PK), press address
A relationship between the mode of W (C, P, s, G, t, R), in which the attribute implication is: C P classroom curriculum, teachers, students s, G scores, t, R, according to the following definition of functional dependency set
: f= (eg (s, C, G (t, R). (c), t, P) r, (T, s) r}
A key relationship between the mode of W is (1), the degree of standardization of W reached the highest (2), if the keyword W is divided into s W1 (C, P model), W2 (s, G, c), W3 (s, t, R, c), the degree of standardization is W1 reached the highest (3), the highest level of W2 reached the highest level (4), W3 (5) to.
Reference answer:
(1) A (S, C), B (T, R), C (T, P), D (T, S, P)
(2飞)A, INF, B, 2NF, C, 3NF, D, 4NF
The first paradigm: to eliminate the repetition in a group, that is to say, the column stores information in other columns
The second paradigm eliminates partial dependency columns, that is to say, whether there are columns that depend on a part of the primary key
The third paradigm: removes non dependent columns, and has columns that depend on non primary keys
Such as:
Student information sheet
Student ID, name, address, city, postal code, grade, gender, course, class, course, ID, name, description, teacher, ID, teaching
Teacher's name, schedule, location, prerequisite course
If so many fields are in the same table, then the design is considered to be informal, and there is a lot of duplicate information to translate the database design
For the first paradigm, you need to divide the information into two tables and establish relationshi

数据库原理例题ExamplesofDatabasePrinciples 来自淘豆网m.daumloan.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数14
  • 收藏数0 收藏
  • 顶次数0
  • 上传人蓝天
  • 文件大小62 KB
  • 时间2022-07-02