1 / 5

Functional Dependencies for Relational Databases

Functional Dependencies for Relational Databases. Informal Design Guidelines - informal measures of quality Semantics of attributes Reducing redundant values in tuples Reducing null values in tuples Disallowing spurious tuples Functional Dependencies. Functional Dependencies - Definitions.

cathy
Download Presentation

Functional Dependencies for Relational Databases

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Functional Dependencies for Relational Databases • Informal Design Guidelines - informal measures of quality • Semantics of attributes • Reducing redundant values in tuples • Reducing null values in tuples • Disallowing spurious tuples • Functional Dependencies

  2. Functional Dependencies - Definitions • X functionally determines Y if and only if each X value in a relationship R has associated with it precisely one Y value in R. • Whenever two tuples of R agree on their X value, they also agree on their Y value. Date, p. 272

  3. COURSE X TEACHER COURSE TEXT X Does ( ) ? TEXT COURSE TEACH Relation Elmasri, p. 306

  4. Why? • Teacher does not guarantee one and only one course or text • Course does not determine one and only one teacher or text • Need more information for text determining one and only one teacher/text. If only this data, OK

  5. Armstrong’s Inference Rules-like rules in Elmasri Date, p. 275; Elmasri p. 307

More Related