最美情侣中文字幕电影,在线麻豆精品传媒,在线网站高清黄,久久黄色视频

歡迎光臨散文網(wǎng) 會(huì)員登陸 & 注冊(cè)

Database代做編程輔導(dǎo):ECS165A Normal Form/BCNF/3NF/4NF

2022-10-30 15:46 作者:拓端tecdat  | 我要投稿

全文鏈接:tecdat.cn/?p=29690

Introduction

Normal From是數(shù)據(jù)庫(kù)理論里面最?lèi)盒牡膯?wèn)題,從1NF到6NF,加上BCNF,DKNF以及UF。不像編程作業(yè),有運(yùn)行結(jié)果作參考,做這種理論題簡(jiǎn)直是受罪,每一題都得反復(fù)推理。
像下面給出的這個(gè)作業(yè),除了題量大以外,每個(gè)問(wèn)題都是多解問(wèn)題,拿滿分幾乎是不可能的事情。

Requirement

1) For this problem you will consider following relation and set of FDs:

R(A,B,C,D,E)
AB → E
B → C
CE → A
AE → D
a) What are the keys of R?
b) Show that the set of FDs is a minimal basis; if it is not a minimal basis, find a minimal basis for the FDs.
c) What are all of the BCNF violations that follow from the FDs? (Don’t just consider the listed FDs, but all that follow).
d) Decompose R into BCNF. For each relation, list the keys, and make sure the set of FDs for each is a minimal basis.
e) What are all of the 3NF violations that follow from the FDs? (Don’t just consider the listed FDs, but all that follow).
f) Decompose R into 3NF. For each relation, list the keys, and make sure the set of FDs for each is a minimal basis.
g) What are all of the 4NF MVD violations that follow from the FDs?
h) Decompose R into 4NF. For each relation, list the keys, FDs and MVD.
i) If you project the relation R onto S(A,B,C) what nontrivial FDs and MVDs hold in S?

2) For this problem you will consider the following relations and FDs:

Courses(C,T,H,R,S,G)
C → T
HR → C
HT → R
HS → R
CS → G
Where C, T, H, R, S, and G are the course, teacher, hour, room, student, and grade respectively. With a proposed decomposition of:
R1(C, T, H)
R2(C, H, R, G)
R3(C, R, S)
a) Use the chase test to prove/disprove that holds HS → G in Courses.
b) Use the chase test to prove/disprove that holds THR → S in Courses.
c) Use the chase test to prove/disprove the proposed decomposition has a lossless join.
d) Decompose Courses into 3NF.
e) Which of your relations in 3NF are not in BCNF?
f) Which of your relations in 3NF are not in 4NF?

3) Design an academic genealogy database with one entity set: Academics.

Consider academics with doctoral degrees only. The information to record about academics includes their name, discipline, year of graduation, institution, dissertation title, dissertation chair, dissertation committee members (assume two others distinct from chair), and academic progeny.

Summary

最后還是想說(shuō)一下,這樣的多個(gè)解的作業(yè)真的相當(dāng)惡心,做的時(shí)候需要反復(fù)推導(dǎo),查閱各種資料來(lái)證明,而且第二個(gè)問(wèn)的chase test完全就是slides里面的方法,學(xué)習(xí)理解也花了不少時(shí)間。


Database代做編程輔導(dǎo):ECS165A Normal Form/BCNF/3NF/4NF的評(píng)論 (共 條)

分享到微博請(qǐng)遵守國(guó)家法律
旬邑县| 温宿县| 延寿县| 永泰县| 湟源县| 盐津县| 锡林浩特市| 年辖:市辖区| 交口县| 绵竹市| 久治县| 衡东县| 南开区| 汽车| 蓝田县| 德安县| 泸溪县| 麻栗坡县| 怀柔区| 吕梁市| 白沙| 治多县| 灵武市| 通榆县| 天镇县| 建昌县| 巩义市| 扬中市| 乡城县| 太原市| 高密市| 米易县| 台东县| 包头市| 嵊泗县| 左云县| 乌兰浩特市| 绥宁县| 沽源县| 于田县| 石首市|