0% found this document useful (0 votes)
48 views1 page

Tutorial3 - FDS, Anomalies, LLJ, Keys

Functional Dependencies in relations, anomalies caused by redundancy in relations, and lossless/lossy join of relations, as well as definitions of keys.

Uploaded by

John Gong
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
48 views1 page

Tutorial3 - FDS, Anomalies, LLJ, Keys

Functional Dependencies in relations, anomalies caused by redundancy in relations, and lossless/lossy join of relations, as well as definitions of keys.

Uploaded by

John Gong
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

CPSC

304
Homework Assignment #3: FDs and Design Anomalies

Consider the following relation scheme and FDs.
StudentInfo(StudNo, StudName, Major, Advisor, CourseNo, Ctitle, InstrucName,
InstrucLocn, Grade)
given the following functional dependencies:
1) StudNo StudName
2) CourseNo Ctitle,InstrucName
3) InstrucName InstrucLocn
4) StudNo,CourseNo,Major Grade
5) StudNo,Major Advisor
6) Advisor Major
Now, answer the following questions.
(a) Give an instance of StudentInfo (i.e., a relation) that illustrates insertion,
deletion, and update anomalies.
(b) Consider the decomposition of the relation StudentInfo into
SI1(StudNo, StudName, Major, Advisor, CourseNo) and
SI2(CourseNo, Ctitle, InstrucName, InstrucLocn, Grade).
Is this a lossy or lossless-join decomposition? Justify your answer.
(c) Repeat (b) for the decomposition
SI3(StudNo, Major, Advisor, CourseNo) and
SI4(StudNo, StudName, Major, CourseNo, Ctitle, InstrucName,
InstrucLocn, Grade).

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy