Normalisation Chapter2 Contents

Size: px
Start display at page:

Download "Normalisation Chapter2 Contents"

Transcription

1 Contents Objective Superkey & Candidate Keys Primary, Alternate and Foreign Keys Functional Dependence Using Instances Normalisation Introduction Normalisation Problems Normalisation Normalisation Why? Some Anomalies Relation : ASSIGN Functional Dependencies DETERMINANT Normalisation Forms First normal form Second Normal Form New 2NF relations Two new relations Third Normal Form NF--->3NF Normalisation Review But what a about doing an example Another Normalisation Example Another Normalisation Example Second Normal Form Another Normalisation Example Third Normal Form Boyce-Codd Normal Form (BCNF) NF Table Not in BCNF Anomalies in STUDENT_ADVISOR Converting a Relation to BCNF Decomposition into BCNF

2 Fourth Normal Forms Multivalued Dependencies Multivalued Dependencies (MVDs) Removing Multivalued Dependencies (MVDs) from a relation Fourth Normal Forms Higher Normal Forms Denormalisation Denormalization for Performance Other Design Issues Objective To understand the problems associated with tables which are not designed well and to understand the concepts of functional dependency, multivalued dependency, Nomalisation process and denormalisation. Contents 64

3 Keys Functional dependency Anomalies 1 st NF 2 nd NF 3 rd NF BCNF 4 th NF Higher Normal forms Denormalisation process Superkey & Candidate Keys Any set of attributes that uniquely identifies each row in a relation is termed a superkey A candidate key is a superkey such that no proper subset is a superkey within the relation o there maybe several candidate keys Primary, Alternate and Foreign Keys The candidate key that is selected to identify tuples uniquely within the relation is called primary key. The candidate keys that are not selected to be the primary key are called alternate keys. 65

4 A foreign key is an attribute or set of attributes within one relation that matches the candidate key of some relation Primary Key example Give an example of a superkey : (WorkerID, Name)-Superkey But is it a candidate key? No because it is not minimal Give examples of candidate keys: WorkID is a candidate key, Name is a candidate key WorkerID is the primary key; Name is an alternate key Exercises 66

5 Functional Dependence An attribute, (B), is functionally dependent on another attribute, (A) (or possible a collection of attributes), if each value of attribute (A) determines one and only one value in attribute (B) alternatively A functionally determines B The value of A determines the value of B The value of B depends on the value of A Functional dependence is the computer term for what is really a simple concept. Think of the definition as follows. If we have a value for attribute A, do we know that will always be able to find at 67 most a single value for B? If so, B is functionally dependent on A and A functionally determines B, and this dependence is usually illustrated using an arrow A --> B

6 Functional Dependence Exercises 68

7 Consider the following relation (capitalised letters are attribute names, lowercase letters and numbers are values) Which of the following proposed functional dependencies seem to apply to X? Identify a possible key for X Identify a possible key for X D (why?)why not AD or DE? 69

8 Using Instances Using just the instances of a relation should not be used to prove that an attribute or a combination of attributes is a candidate key. Instances only show that some attributes can not be candidate keys but never show that they can o recall attribute Name from previous exercise. What if we had selected Name as the primary key and then another worker joined with the name Barrister? Invalidates the choice of Name as primary key USE your knowledge of what an attribute means in the real-world in order to decide if duplicates will arise Normalisation Introduction Introduced by Codd together with relational database theory o Originally Codd defined three normal forms o later expanded to Boyce-Codd and fourth and fifth normal forms 70

9 Normalisation Problems Data redundancy (repetition) - The four rows for worker 1412 repeat the same name and skill type information o wastes space o leads to loss of data integrity (loss of consistency) 71

10 i.e. Update anomaly o C.Nemo skill is in error but only the first row is corrected Deletion anomaly o Coulomb (Worker-Id 1311) is away and building he worked has finished. If it is decided to delete the row containing information about the completed building then the rest of information about 1311 will be lost 72

11 Insertion anomaly o If we hire S.Spandolf but have not decided in which building he works and also assume null entries are not allowed then we can not enter information regarding the new employee (until he has been assigned to a building) Normalisation Normalisation: Why? How? o Check the database design o Identify problems (if any) o provide methods for correcting any problems o Using decomposition a process of splitting relations into multiple relations to eliminate anomalies and maintain data integrity 73

12 We have introduced the relational data model, its structure and the various ways of manipulating the data (with an emphasis on SQL). At all times we have used relations (tables) which were ready to use. How to move from a unrelational table(s) to relational tables is achieved using the normalisation process. Normalisation enables us to analyse the design of a relational database to see whether it is good or bad. In particular, normalisation gives us a method for identifying the existence of potential problems, called update anomalies, in the design. The normalisation process also supplies methods for correcting these problems. Normalisation Why? Formal measure of why one grouping of attributes may be better than another Each normal form requires that a relation satisfies a criteria for that form and this eliminates a different kind of redundancy Normalised relations will remain consistent following database operations and will store each fact only once Database operations applied to unnormalised relations may lead to anomalies Some Anomalies 74

13 Relation : ASSIGN Adding row (ASSIGN, <S85,35,P1,9>) causes Insertion Anomaly. Why? o two conflicting budgets for P1 Delete row(assign, <S79,27,P3,1>) causes Deletion Anomaly. Why? o removes project budget for P3 75

14 Functional Dependencies Determine the FDs. o Project Project_budget o Person-id, Project Time Spent on Project Two attributes are FUNCTIONALLY DEPENDENT if a value for ONE attribute specifies a SINGLE value for the other attribute 76

15 DETERMINANT Grade Rate of Pay Driver Crane Driver Keyboard Operator Systems Analyst The Rate of Pay is functionally dependent on Grade or, Grade determines Rate of Pay or, grade Rate of Pay. Grade is a DETERMINANT Integrity Rules entity integrity o Primary Key o primary key MUST NOT be NULL combined with the table property for unique row. Primary key must be both not null and unique o guarantees that each entity will have a unique identity The primary key of a relation is the attribute or collection of attributes that uniquely identifies a given row. It is common practice to underline the primary key of the relation. The primary key provides a mechanism for entity integrity (the rule that states that in any relation there must be always be a primary key, and that no part of the primary key may be null) There is another kind of key that is extremely important. An attribute in one relation that is required to match the primary key of another relation is called a foreign key. Foreign keys provide a mechanism for explicitly specifying relationships between two different relations, as well as a mechanism for ensuring referential integrity. (for example we are not allowed to enter a value in the foreign key if the primary key does not exist. 77

16 referential integrity o Foreign Key o foreign key must have either a null entry or an entry that matches the candidate key value in a table to which it is related Functional Dependencies An attribute (or attributes) of a table is the Primary Key for that table if Translation: o All attributes in the table are functionally dependent on the Primary Key, AND o Where the Primary Key is a collection of attributes (concatenated key), no subcollection of the columns used also exhibits the functional dependence property (Candidate key) 1. The primary key will identify a given row (unique) 2. No portion of the primary key can be an independent primary key Normalisation Forms First normal form Second normal Form Third normal form The process involves various types of normal forms. We will have a close look at the first, second and third normal forms. The idea is that a relation that is in 1NF is better that a relation that is not in 1NF; a relation that is in 2NF is even better and so on. The $xal of this process is to allow us to start with a relation or collection of relations and produce a new collection of relations equivalent to the same collection (i.e., the same information is represented) but is free of problems. 78

17 A relation is in first normal form (1NF) if it does not contain repeating groups Problem resolved o repeating groups (atomic values) A relation that conatins a repeating group is called an unnormalised relation (strictly speaking is not a relation at all). Removal of repeating groups is the starting point; and relations without repeating groups are said to be in first normal form. PACKID TAGNUM INSTDATE SOFTCOST AC /09/ DB /03/ /06/ DB /05/ Normalisation 79

18 Second Normal Form A relation is in second normal form (2NF) if it is in first normal form and no non-key attribute is dependent on only a portion of the primary key o Non-key attribute is an attribute if it is not part of the primary key The dependency diagram shows all the functional dependencies present. Dependency Diagram 80

19 New 2NF relations The way to correct the various problems is o Create a new relation by using the attributes from the offending FD as the attributes in the new relation. The determinant of the FD becomes the key of the new relation o The attribute on the right hand side of the FD is then eliminated from the original relation o If more than one FD prevents the relation from being 2NF, repeat the two steps from above o If the same determinant appears in more than one FD, place all the attributes functionally dependent on this determinant as nonkey attributes in the relation having the determinant as key Software(Packid, Tagnum,Instdate,Softcost) Package(Packid,Packname) PC(Tagnum,CompID) Still though the same problems An example 2NF Consider the following Assign relation 81

20 Consider the following relation The worker name is repeated. If the name of the worker changes, every row recording an assignment of that worker must be updated (update anomaly). The data might become inconsistent, with different rows showing different names for the same worker (because of update anomaly) 82

21 If at some time there are no assignments for the worker, there may be no row in which to keep the worker s name (insertion anomaly) Determine the FDs Example Decomposition Offending FD? Yes, one o WorkerID--->Name o Step1 Worker(WorkerID, Name) 83

22 o Step2 Assign(WorkerID, BLDG-ID, Start-Date) Foreign Key? o Foreign key: WorkerID references Worker Two new relations Third Normal Form A relation is in third normal form (3NF) if it is in second normal form and if the only determinants it contains are candidate keys i.e. It does not contain transitive dependencies. Determinant is an attribute (or collection of attributes) that determines another attribute 84

23 Again drawing a dependency diagram we might see that there exists a determinant attribute. You can draw for PC(Tagnum, compid, Empnum, Empname, location) to see that Empnum determines Empname. To scheme to follow to correct the deficiency in such a relation is that first: for each determinant that is not a candidate key, remove from the relation the attributes that depend on this determinant. Next create a new relation containing all the attributes from the original relatiom that depend on thsi determinant. Finally, make the determinant the primary key of this new relation PC (Tagnum, compid, Empnum, location) EMPLOYEE (Empnum, Empname) 2NF--->3NF The way to correct the various problems is o Create a new relation by removing from the original relation the attributes on the right hand side of the offending FD o Form a new relation consisting of those attributes on both the left and right side of the FD that fail the 3NF criterion. The determinant of the FD is the key o If the new relations are still not 3NF repeat 85

24 A 3NF Example Problems with this table? Consider the following relation If the bonus rate of the skill type changes, every such row must be updated. If a row is deleted, we may lose data giving the bonus rate for a skill type (update and deletion anomalies) If there are currently no permanent employees for a given skill type, there may be no row in which to keep the skill type s bonus rate (insertion anomaly) 86

25 FD for 3NF Example FD: Worker-ID--->Skill-Type FD:Worker-ID--->Bonus-Rate FD:Skill-Type--->Bonus-Rate Key? - Worker-ID Worker(WorkerID, Skill-Type, Bonus-rate) FD Alternative Notation New relations FD: Worker-ID--->Skill-Type FD:Worker-ID--->Bonus-Rate FD:Skill-Type--->Bonus-Rate Step1 o Worker(Worker-ID, Skill-Type) Step2 87

26 o Skill(Skil-Type, Bonus-Rate) Both 3NF Foreign Key? o Foreign Key:Skill-Type references Skill Normalisation Review But what a about doing an example Another Normalisation Example Another Normalisation Example First Normal Form 88

27 Another Normalisation Example Second Normal Form 89

28 Another Normalisation Example Third Normal Form Boyce-Codd Normal Form (BCNF) When a relation has more than one candidate key, anomalies may result even though the relation is in 3NF. E.g. STUDENT_ADVISOR table o SID, Major Advisor, Maj_GPA This reflects the constraint that although a given student may have more than one major, for each major a student has exactly one advisor and one GPA. SID Major Advisor Maj_GPA 90

29 123 Physics Hawking Music Mahler Literature Michener Music Bach Physics Hawking 3.5 There is a second FD Advisor Major Each advisor advises in exactly one major. This is not a transitive dependency. A transitive dependency is a FD between two nonkey attributes. SID Major Advisor Maj_GPA 123 Physics Hawking Music Mahler Literature Michener Music Bach Physics Hawking

30 3NF Table Not in BCNF Anomalies in STUDENT_ADVISOR The table is in 3NF, since there is no partial FDs and no transitive FDs. Howerever, because of the FD between Major and Advisor there are anomalies in the relation: SID Major Advisor Maj_GPA 123 Physics Hawking Music Mahler Literature Michener Music Bach Physics Hawking

31 Update anomalies e.g., replacing Hawking the Physics advisor by Einstein must be made in more than one rows Insertion anomalies can not add a new Computer science advisor before adding at least one student majoring in Computer science Deletion anomalies if student 789 aithdraws from school, we lose the information that Bach advises in Music. SID Major Advisor Maj_GPA 123 Physics Hawking Music Mahler Literature Michener Music Bach Physics Hawking 3.5 The anomalies result from the fact that there is a determinant (Advisor) that is not a candidate key in the relation. SID Major Advisor Maj_GPA 123 Physics Hawking Music Mahler

32 456 Literature Michener Music Bach Physics Hawking 3.5 Boyce-Codd Normal Form (BCNF) Every determinant in the table is a candidate key o Determinant is attribute whose value determines other values in row o 3NF table with one candidate key is already in BCNF Decomposition of Table Structure to Meet BCNF 94

33 Converting a Relation to BCNF A two step procedure. First step: o The relation is modified so that the determinant which is not a candidate key becomes a component of the primary key of the revised relation. o The attribute that is functionaly dependent on that determinant becomes a nonkey attribute. Revised relation schema: SID, Advisor Major, Maj_GPA Now the relation is not in the 2NF 95

34 Step two : eliminate the partial FD. o SID, Advisor Maj_GPA o Advisor Major Decomposition into BCNF Fourth Normal Forms Multivalued Dependencies There are database schemas in BCNF that do not seem to be sufficiently normalized Consider a database o classes(course, teacher, book) such that (c,t,b) classes means that t is qualified to teach c, and b is a required textbook for c 96

35 The database is supposed to list for each course the set of teachers any one of which can be the course s instructor, and the set of books, all of which are required for the course (no matter who teaches it). There are no non-trivial functional dependencies and therefore the relation is in BCNF Insertion anomalies i.e., if Sara is a new teacher that can teach database, two tuples need to be inserted o (database, Sara, DB Concepts) (database, Sara, Ullman) Therefore, it is better to decompose classes into: 97

36 We shall see that these two relations are in Fourth Normal Form (4NF) Multivalued Dependencies (MVDs) A multivalued dependency exists when there are at least three attributes ( for example A,B, and C) in a relation, and for each value of A there is a well-defined set of values of B and a well-defined set of values of C. However, the set of values of B is independent of set C, and vice versa. Example 98

37 Let R be a relation schema with a set of attributes that are partitioned into 3 nonempty subsets. Y, Z, W We say that Y Z (Y multidetermines Z) if and only if for all possible relations r(r) < y 1, z 1, w 1 > r and < y 1, z 2, w 2 > r o then < y 1, z 1, w 2 > r and < y 1, z 2, w 1 > r Note that since the behavior of Z and W are identical it follows that Y Z if Y W In our example: course teacher course book The above formal definition is supposed to formalize the notion that given a particular value of Y (course) it has associated with it a set of values of Z (teacher) and a set of values of W (book), and these two sets are in some sense independent of each other. Note: o If Y Z then Y Z o Indeed we have (in above notation) Z 1 = Z 2 The claim follows. Removing Multivalued Dependencies (MVDs) from a relation Divide the relation into two new relations. 99

38 Each of these tables contains two attributes that have a multivalued relationship in the original relation. Conversion to 4NF Fourth Normal Forms Fourth Normal Form (4NF) 100

39 o Table is in BCNF o Has no multiple sets of multivalued dependencies Higher Normal Forms 5 NF o deals with loosless joins, o occur very rearly and difficult to detect in practice o Complex definition Domain-Key Normal form (DKNF) o Its practical utility is quite limited Problem with these generalized constraints: are hard to reason with, and no set of sound and complete set of inference rules exists. Hence rarely used Normalization and Database Design Normalization should be part of the design process E-R Diagram provides macro view Normalization provides micro view of entities o Focuses on characteristics of specific entities o May yield additional entities Difficult to separate normalization from E-R diagramming Denormalisation Normalization is one of many database design goals 101

40 Normalized table requirements o Additional processing o Loss of system speed Normalization purity is difficult to sustain due to conflict in: o Design efficiency o Information requirements o Processing Denormalization for Performance May want to use non-normalized schema for performance E.g. displaying customer-name along with account-number and balance requires join of account with depositor Alternative 1: Use denormalized relation containing attributes of account as well as depositor with all above attributes o faster lookup o Extra space and extra execution time for updates o extra coding work for programmer and possibility of error in extra code Alternative 2: use a materialized view defined as account depositor o Benefits and drawbacks same as above, except no extra coding work for programmer and avoids possible errors Other Design Issues Some aspects of database design are not caught by normalization 102

41 Examples of bad database design, to be avoided: o Instead of earnings(company-id, year, amount), use o earnings-2000, earnings-2001, earnings-2002, etc., all on the schema (company-id, earnings). Above are in BCNF, but make querying across years difficult and needs new table each year o company-year(company-id, earnings-2000, earnings-2001, earnings-2002) Also in BCNF, but also makes querying across years difficult and requires new attribute each year. Is an example of a crosstab, where values for one attribute become column names Used in spreadsheets, and in data analysis tools 103

Chapter 6: Relational Database Design

Chapter 6: Relational Database Design Chapter 6: Relational Database Design Chapter 6: Relational Database Design Features of Good Relational Design Atomic Domains and First Normal Form Decomposition Using Functional Dependencies Second Normal

More information

Relational Database Design (II)

Relational Database Design (II) Relational Database Design (II) 1 Roadmap of This Lecture Algorithms for Functional Dependencies (cont d) Decomposition Using Multi-valued Dependencies More Normal Form Database-Design Process Modeling

More information

UNIT 3 DATABASE DESIGN

UNIT 3 DATABASE DESIGN UNIT 3 DATABASE DESIGN Objective To study design guidelines for relational databases. To know about Functional dependencies. To have an understanding on First, Second, Third Normal forms To study about

More information

Chapter 8: Relational Database Design

Chapter 8: Relational Database Design Chapter 8: Relational Database Design Database System Concepts, 6 th Ed. See www.db-book.com for conditions on re-use Chapter 8: Relational Database Design Features of Good Relational Design Atomic Domains

More information

Unit 3 : Relational Database Design

Unit 3 : Relational Database Design Unit 3 : Relational Database Design Database System Concepts, 6 th Ed. See www.db-book.com for conditions on re-use Content Relational Model: Basic concepts, Attributes and Domains, CODD's Rules, Relational

More information

ACS-2914 Normalization March 2009 NORMALIZATION 2. Ron McFadyen 1. Normalization 3. De-normalization 3

ACS-2914 Normalization March 2009 NORMALIZATION 2. Ron McFadyen 1. Normalization 3. De-normalization 3 NORMALIZATION 2 Normalization 3 De-normalization 3 Functional Dependencies 4 Generating functional dependency maps from database design maps 5 Anomalies 8 Partial Functional Dependencies 10 Transitive

More information

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe CHAPTER 14 Basics of Functional Dependencies and Normalization for Relational Databases Slide 14-2 Chapter Outline 1 Informal Design Guidelines for Relational Databases 1.1 Semantics of the Relation Attributes

More information

Learning outcomes. On successful completion of this unit you will: 1. Understand data models and database technologies.

Learning outcomes. On successful completion of this unit you will: 1. Understand data models and database technologies. 2015-2016 Phil Smith Learning outcomes On successful completion of this unit you will: 1. Understand data models and database technologies. (Assignment 1) Recap and setting the scene Before we get to Normalisation

More information

Chapter 10. Chapter Outline. Chapter Outline. Functional Dependencies and Normalization for Relational Databases

Chapter 10. Chapter Outline. Chapter Outline. Functional Dependencies and Normalization for Relational Databases Chapter 10 Functional Dependencies and Normalization for Relational Databases Chapter Outline 1 Informal Design Guidelines for Relational Databases 1.1Semantics of the Relation Attributes 1.2 Redundant

More information

Informal Design Guidelines for Relational Databases

Informal Design Guidelines for Relational Databases Outline Informal Design Guidelines for Relational Databases Semantics of the Relation Attributes Redundant Information in Tuples and Update Anomalies Null Values in Tuples Spurious Tuples Functional Dependencies

More information

Elmasri/Navathe, Fundamentals of Database Systems, Fourth Edition Chapter 10-2

Elmasri/Navathe, Fundamentals of Database Systems, Fourth Edition Chapter 10-2 Elmasri/Navathe, Fundamentals of Database Systems, Fourth Edition Chapter 10-2 Chapter Outline 1 Informal Design Guidelines for Relational Databases 1.1Semantics of the Relation Attributes 1.2 Redundant

More information

Chapter 14. Database Design Theory: Introduction to Normalization Using Functional and Multivalued Dependencies

Chapter 14. Database Design Theory: Introduction to Normalization Using Functional and Multivalued Dependencies Chapter 14 Database Design Theory: Introduction to Normalization Using Functional and Multivalued Dependencies Copyright 2012 Ramez Elmasri and Shamkant B. Navathe Chapter Outline 1 Informal Design Guidelines

More information

Chapter 10. Normalization. Chapter Outline. Chapter Outline(contd.)

Chapter 10. Normalization. Chapter Outline. Chapter Outline(contd.) Chapter 10 Normalization Chapter Outline 1 Informal Design Guidelines for Relational Databases 1.1Semantics of the Relation Attributes 1.2 Redundant Information in Tuples and Update Anomalies 1.3 Null

More information

Functional Dependencies and. Databases. 1 Informal Design Guidelines for Relational Databases. 4 General Normal Form Definitions (For Multiple Keys)

Functional Dependencies and. Databases. 1 Informal Design Guidelines for Relational Databases. 4 General Normal Form Definitions (For Multiple Keys) 1 / 13 1 Informal Design Guidelines for Relational Databases 1.1Semantics of the Relation Attributes 1.2 Redundant d Information in Tuples and Update Anomalies 1.3 Null Values in Tuples 1.4 Spurious Tuples

More information

Normalisation. Normalisation. Normalisation

Normalisation. Normalisation. Normalisation Normalisation Normalisation Main objective in developing a logical data model for relational database systems is to create an accurate and efficient representation of the data, its relationships, and constraints

More information

Steps in normalisation. Steps in normalisation 7/15/2014

Steps in normalisation. Steps in normalisation 7/15/2014 Introduction to normalisation Normalisation Normalisation = a formal process for deciding which attributes should be grouped together in a relation Normalisation is the process of decomposing relations

More information

CSCI 403: Databases 13 - Functional Dependencies and Normalization

CSCI 403: Databases 13 - Functional Dependencies and Normalization CSCI 403: Databases 13 - Functional Dependencies and Normalization Introduction The point of this lecture material is to discuss some objective measures of the goodness of a database schema. The method

More information

COSC Dr. Ramon Lawrence. Emp Relation

COSC Dr. Ramon Lawrence. Emp Relation COSC 304 Introduction to Database Systems Normalization Dr. Ramon Lawrence University of British Columbia Okanagan ramon.lawrence@ubc.ca Normalization Normalization is a technique for producing relations

More information

The strategy for achieving a good design is to decompose a badly designed relation appropriately.

The strategy for achieving a good design is to decompose a badly designed relation appropriately. The strategy for achieving a good design is to decompose a badly designed relation appropriately. Functional Dependencies The single most important concept in relational schema design theory is that of

More information

Chapter 7: Relational Database Design

Chapter 7: Relational Database Design Chapter 7: Relational Database Design Database System Concepts, 5th Ed. See www.db-book.com for conditions on re-use Chapter 7: Relational Database Design Features of Good Relational Design Atomic Domains

More information

Relational Database design. Slides By: Shree Jaswal

Relational Database design. Slides By: Shree Jaswal Relational Database design Slides By: Shree Jaswal Topics: Design guidelines for relational schema, Functional Dependencies, Definition of Normal Forms- 1NF, 2NF, 3NF, BCNF, Converting Relational Schema

More information

Database Management System Prof. Partha Pratim Das Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur

Database Management System Prof. Partha Pratim Das Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur Database Management System Prof. Partha Pratim Das Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur Lecture - 19 Relational Database Design (Contd.) Welcome to module

More information

Database Systems: Design, Implementation, and Management Tenth Edition. Chapter 6 Normalization of Database Tables

Database Systems: Design, Implementation, and Management Tenth Edition. Chapter 6 Normalization of Database Tables Database Systems: Design, Implementation, and Management Tenth Edition Chapter 6 Normalization of Database Tables Objectives In this chapter, students will learn: What normalization is and what role it

More information

Normalization. Murali Mani. What and Why Normalization? To remove potential redundancy in design

Normalization. Murali Mani. What and Why Normalization? To remove potential redundancy in design 1 Normalization What and Why Normalization? To remove potential redundancy in design Redundancy causes several anomalies: insert, delete and update Normalization uses concept of dependencies Functional

More information

Chapter 14 Outline. Normalization for Relational Databases: Outline. Chapter 14: Basics of Functional Dependencies and

Chapter 14 Outline. Normalization for Relational Databases: Outline. Chapter 14: Basics of Functional Dependencies and Ramez Elmasri, Shamkant B. Navathe(2016) Fundamentals of Database Systems (7th Edition), pearson, isbn 10: 0-13-397077-9;isbn-13:978-0-13-397077-7. Chapter 14: Basics of Functional Dependencies and Normalization

More information

Logical Database Design Normalization

Logical Database Design Normalization Chapter Four Logical Database Design Normalization Objectives Recalling Relational concepts Understand different anomalies and functional dependency concepts Use normalization to convert anomalous tables

More information

Database Design Theory and Normalization. CS 377: Database Systems

Database Design Theory and Normalization. CS 377: Database Systems Database Design Theory and Normalization CS 377: Database Systems Recap: What Has Been Covered Lectures 1-2: Database Overview & Concepts Lecture 4: Representational Model (Relational Model) & Mapping

More information

IS 263 Database Concepts

IS 263 Database Concepts IS 263 Database Concepts Lecture 4: Normalization Instructor: Henry Kalisti 1 Department of Computer Science and Engineering Limitations of E- R Designs Provides a set of guidelines, does not result in

More information

Relational Design: Characteristics of Well-designed DB

Relational Design: Characteristics of Well-designed DB 1. Minimal duplication Relational Design: Characteristics of Well-designed DB Consider table newfaculty (Result of F aculty T each Course) Id Lname Off Bldg Phone Salary Numb Dept Lvl MaxSz 20000 Cotts

More information

NORMAL FORMS. CS121: Relational Databases Fall 2017 Lecture 18

NORMAL FORMS. CS121: Relational Databases Fall 2017 Lecture 18 NORMAL FORMS CS121: Relational Databases Fall 2017 Lecture 18 Equivalent Schemas 2 Many different schemas can represent a set of data Which one is best? What does best even mean? Main goals: Representation

More information

Test Bank for A Guide to SQL 9th Edition by Pratt

Test Bank for A Guide to SQL 9th Edition by Pratt Test Bank for A Guide to SQL 9th Edition by Pratt Link full download: https://testbankservice.com/download/test-bank-for-a-guideto-sql-9th-edition-by-pratt Chapter 2: Database Design Fundamentals True

More information

Normalization in DBMS

Normalization in DBMS Unit 4: Normalization 4.1. Need of Normalization (Consequences of Bad Design-Insert, Update & Delete Anomalies) 4.2. Normalization 4.2.1. First Normal Form 4.2.2. Second Normal Form 4.2.3. Third Normal

More information

The Relational Model and Normalization

The Relational Model and Normalization The Relational Model and Normalization 1. Introduction 2 2. Relational Model Terminology 3 4. Normal Forms 11 5. Multi-valued Dependency 21 6. The Fifth Normal Form 22 The Relational Model and Normalization

More information

CSIT5300: Advanced Database Systems

CSIT5300: Advanced Database Systems CSIT5300: Advanced Database Systems L06: Relational Database Design BCNF Dr. Kenneth LEUNG Department of Computer Science and Engineering The Hong Kong University of Science and Technology Hong Kong SAR,

More information

Redundancy:Dependencies between attributes within a relation cause redundancy.

Redundancy:Dependencies between attributes within a relation cause redundancy. Normalization Normalization: It is the process of removing redundant data from your tables in order to improve storage efficiency, data integrity and scalability. This improvement is balanced against an

More information

CMU SCS CMU SCS CMU SCS CMU SCS whole nothing but

CMU SCS CMU SCS CMU SCS CMU SCS whole nothing but Faloutsos & Pavlo 15-415/615 Carnegie Mellon Univ. Dept. of Computer Science 15-415/615 - DB Applications Lecture #17: Schema Refinement & Normalization - Normal Forms (R&G, ch. 19) Overview - detailed

More information

Chapter 2 Introduction to Relational Models

Chapter 2 Introduction to Relational Models CMSC 461, Database Management Systems Spring 2018 Chapter 2 Introduction to Relational Models These slides are based on Database System Concepts book and slides, 6th edition, and the 2009 CMSC 461 slides

More information

This lecture. Databases -Normalization I. Repeating Data. Redundancy. This lecture introduces normal forms, decomposition and normalization.

This lecture. Databases -Normalization I. Repeating Data. Redundancy. This lecture introduces normal forms, decomposition and normalization. This lecture Databases -Normalization I This lecture introduces normal forms, decomposition and normalization (GF Royle 2006-8, N Spadaccini 2008) Databases - Normalization I 1 / 23 (GF Royle 2006-8, N

More information

1. The process of determining the particular tables and columns that will comprise a database is known as database design.

1. The process of determining the particular tables and columns that will comprise a database is known as database design. True / False 1. The process of determining the particular tables and columns that will comprise a database is known as database design. REFERENCES: 21 2. A tabular database is a collection of tables. REFERENCES:

More information

CS211 Lecture: Database Design

CS211 Lecture: Database Design CS211 Lecture: Database Design Objectives: last revised November 21, 2006 1. To introduce the anomalies that result from redundant storage of data 2. To introduce the notion of functional dependencies

More information

customer = (customer_id, _ customer_name, customer_street,

customer = (customer_id, _ customer_name, customer_street, Relational Database Design COMPILED BY: RITURAJ JAIN The Banking Schema branch = (branch_name, branch_city, assets) customer = (customer_id, _ customer_name, customer_street, customer_city) account = (account_number,

More information

CS411 Database Systems. 05: Relational Schema Design Ch , except and

CS411 Database Systems. 05: Relational Schema Design Ch , except and CS411 Database Systems 05: Relational Schema Design Ch. 3.1-3.5, except 3.4.2-3.4.3 and 3.5.3. 1 How does this fit in? ER Diagrams: Data Definition Translation to Relational Schema: Data Definition Relational

More information

ch02 True/False Indicate whether the statement is true or false.

ch02 True/False Indicate whether the statement is true or false. ch02 True/False Indicate whether the statement is true or false. 1. The process of determining the particular tables and columns that will comprise a database is known as database design. 2. A tabular

More information

Databases -Normalization I. (GF Royle, N Spadaccini ) Databases - Normalization I 1 / 24

Databases -Normalization I. (GF Royle, N Spadaccini ) Databases - Normalization I 1 / 24 Databases -Normalization I (GF Royle, N Spadaccini 2006-2010) Databases - Normalization I 1 / 24 This lecture This lecture introduces normal forms, decomposition and normalization. We will explore problems

More information

CSE 544 Principles of Database Management Systems. Magdalena Balazinska Winter 2009 Lecture 4 - Schema Normalization

CSE 544 Principles of Database Management Systems. Magdalena Balazinska Winter 2009 Lecture 4 - Schema Normalization CSE 544 Principles of Database Management Systems Magdalena Balazinska Winter 2009 Lecture 4 - Schema Normalization References R&G Book. Chapter 19: Schema refinement and normal forms Also relevant to

More information

Carnegie Mellon Univ. Dept. of Computer Science /615 - DB Applications. Overview - detailed. Goal. Faloutsos & Pavlo CMU SCS /615

Carnegie Mellon Univ. Dept. of Computer Science /615 - DB Applications. Overview - detailed. Goal. Faloutsos & Pavlo CMU SCS /615 Faloutsos & Pavlo 15-415/615 Carnegie Mellon Univ. Dept. of Computer Science 15-415/615 - DB Applications Lecture #17: Schema Refinement & Normalization - Normal Forms (R&G, ch. 19) Overview - detailed

More information

Test Bank For A Guide To Mysql 1st Edition By Pratt And Last

Test Bank For A Guide To Mysql 1st Edition By Pratt And Last Test Bank For A Guide To Mysql 1st Edition By Pratt And Last Link full download test bank: https://digitalcontentmarket.org/download/test-bank-for-a-guide-to-mysql-1st-edition-bypratt-and-last/ Link full

More information

Link download full of Solution Manual:

Link download full of Solution Manual: Test Bank for A Guide to MySQL 1st Edition by Pratt and Last Link download full: http://testbankair.com/download/test-bank-for-a-guide-to-mysql-1st-edition-by-prattand-last/ Link download full of Solution

More information

Database Normalization. (Olav Dæhli 2018)

Database Normalization. (Olav Dæhli 2018) Database Normalization (Olav Dæhli 2018) 1 What is normalization and why normalize? Normalization: A set of rules to decompose relations (tables) into smaller relations (tables), without loosing any data

More information

Unit- III (Functional dependencies and Normalization, Relational Data Model and Relational Algebra)

Unit- III (Functional dependencies and Normalization, Relational Data Model and Relational Algebra) Unit- III (Functional dependencies and Normalization, Relational Data Model and Relational Algebra) Important questions Section A :(2 Marks) 1.What is Functional Dependency? Functional dependency (FD)

More information

Lectures 12: Design Theory I. 1. Normal forms & functional dependencies 2/19/2018. Today s Lecture. What you will learn about in this section

Lectures 12: Design Theory I. 1. Normal forms & functional dependencies 2/19/2018. Today s Lecture. What you will learn about in this section Today s Lecture Lectures 12: Design Theory I Professor Xiannong Meng Spring 2018 Lecture and activity contents are based on what Prof Chris Ré used in his CS 145 in the fall 2016 term with permission 1.

More information

Case Study: Lufthansa Cargo Database

Case Study: Lufthansa Cargo Database Case Study: Lufthansa Cargo Database Carsten Schürmann 1 Today s lecture More on data modelling Introduction to Lufthansa Cargo Database Entity Relationship diagram Boyce-Codd normal form 2 From Lecture

More information

8) A top-to-bottom relationship among the items in a database is established by a

8) A top-to-bottom relationship among the items in a database is established by a MULTIPLE CHOICE QUESTIONS IN DBMS (unit-1 to unit-4) 1) ER model is used in phase a) conceptual database b) schema refinement c) physical refinement d) applications and security 2) The ER model is relevant

More information

Functional Dependencies and Finding a Minimal Cover

Functional Dependencies and Finding a Minimal Cover Functional Dependencies and Finding a Minimal Cover Robert Soulé 1 Normalization An anomaly occurs in a database when you can update, insert, or delete data, and get undesired side-effects. These side

More information

Distributed Database Systems By Syed Bakhtawar Shah Abid Lecturer in Computer Science

Distributed Database Systems By Syed Bakhtawar Shah Abid Lecturer in Computer Science Distributed Database Systems By Syed Bakhtawar Shah Abid Lecturer in Computer Science 1 Distributed Database Systems Basic concepts and Definitions Data Collection of facts and figures concerning an object

More information

Schema And Draw The Dependency Diagram

Schema And Draw The Dependency Diagram Given That Information Write The Relational Schema And Draw The Dependency Diagram below, write the relational schema, draw its dependency diagram, and identify all You can assume that any given product

More information

Lecture 11 - Chapter 8 Relational Database Design Part 1

Lecture 11 - Chapter 8 Relational Database Design Part 1 CMSC 461, Database Management Systems Spring 2018 Lecture 11 - Chapter 8 Relational Database Design Part 1 These slides are based on Database System Concepts 6th edition book and are a modified version

More information

Techno India Batanagar Computer Science and Engineering. Model Questions. Subject Name: Database Management System Subject Code: CS 601

Techno India Batanagar Computer Science and Engineering. Model Questions. Subject Name: Database Management System Subject Code: CS 601 Techno India Batanagar Computer Science and Engineering Model Questions Subject Name: Database Management System Subject Code: CS 601 Multiple Choice Type Questions 1. Data structure or the data stored

More information

Databases 1. Daniel POP

Databases 1. Daniel POP Databases 1 Daniel POP Week 6 & 7 Agenda Introduction to normalization Functional dependencies 1NF 2NF 3NF. Transitive dependencies BCNF 4NF. Multivalued dependencies 5NF De-normalization Normalization

More information

CSE 544 Principles of Database Management Systems. Magdalena Balazinska Fall 2009 Lecture 3 - Schema Normalization

CSE 544 Principles of Database Management Systems. Magdalena Balazinska Fall 2009 Lecture 3 - Schema Normalization CSE 544 Principles of Database Management Systems Magdalena Balazinska Fall 2009 Lecture 3 - Schema Normalization References R&G Book. Chapter 19: Schema refinement and normal forms Also relevant to this

More information

In This Lecture. Normalisation to BCNF. Lossless decomposition. Normalisation so Far. Relational algebra reminder: product

In This Lecture. Normalisation to BCNF. Lossless decomposition. Normalisation so Far. Relational algebra reminder: product In This Lecture Normalisation to BCNF Database Systems Lecture 12 Natasha Alechina More normalisation Brief review of relational algebra Lossless decomposition Boyce-Codd normal form (BCNF) Higher normal

More information

Database Normalization

Database Normalization Database Normalization Asst. Prof. Dr. Kanda Runapongsa Saikaew (krunapon@kku.ac.th) Department of Computer Engineering Khon Kaen University 1 Overview What and why normalization Background to normalization

More information

Normalization Rule. First Normal Form (1NF) Normalization rule are divided into following normal form. 1. First Normal Form. 2. Second Normal Form

Normalization Rule. First Normal Form (1NF) Normalization rule are divided into following normal form. 1. First Normal Form. 2. Second Normal Form Normalization Rule Normalization rule are divided into following normal form. 1. First Normal Form 2. Second Normal Form 3. Third Normal Form 4. BCNF First Normal Form (1NF) As per First Normal Form, no

More information

Databases The theory of relational database design Lectures for m

Databases The theory of relational database design Lectures for m Databases The theory of relational database design Lectures for mathematics students April 2, 2017 General introduction Look; that s why there s rules, understand? So that you think before you break em.

More information

Normalisation theory

Normalisation theory Normalisation theory Introduction to Database Design 2012, Lecture 7 Challenging exercises E-R diagrams example Normalisation theory, motivation Functional dependencies Boyce-Codd normal form (BCNF) 3rd

More information

THE RELATIONAL DATABASE MODEL

THE RELATIONAL DATABASE MODEL THE RELATIONAL DATABASE MODEL Introduction to relational DB Basic Objects of relational model Properties of relation Representation of ER model to relation Keys Relational Integrity Rules Functional Dependencies

More information

MODULE: 3 FUNCTIONAL DEPENDENCIES

MODULE: 3 FUNCTIONAL DEPENDENCIES MODULE: 3 (13 hours) Database design: functional dependencies - Inference Rules for Functional Dependencies - Closure -- Minimal Cover -Normal forms First-second and third normal forms Boyce- Codd normal

More information

Relational Design Theory. Relational Design Theory. Example. Example. A badly designed schema can result in several anomalies.

Relational Design Theory. Relational Design Theory. Example. Example. A badly designed schema can result in several anomalies. Relational Design Theory Relational Design Theory A badly designed schema can result in several anomalies Update-Anomalies: If we modify a single fact, we have to change several tuples Insert-Anomalies:

More information

DATABASE MANAGEMENT SYSTEM SHORT QUESTIONS. QUESTION 1: What is database?

DATABASE MANAGEMENT SYSTEM SHORT QUESTIONS. QUESTION 1: What is database? DATABASE MANAGEMENT SYSTEM SHORT QUESTIONS Complete book short Answer Question.. QUESTION 1: What is database? A database is a logically coherent collection of data with some inherent meaning, representing

More information

Database Tables and Normalization

Database Tables and Normalization Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition Chapter 9 Normalizing Database Designs (NORMALIZATION) MDM NUR RAZIA BINTI MOHD SURADI 019-3932846 razia@unisel.edu.my

More information

Normalization is based on the concept of functional dependency. A functional dependency is a type of relationship between attributes.

Normalization is based on the concept of functional dependency. A functional dependency is a type of relationship between attributes. Lecture Handout Database Management System Lecture No. 19 Reading Material Database Systems Principles, Design and Implementation written by Catherine Ricardo, Maxwell Macmillan. Section 7.1 7.7 Database

More information

Applied Databases. Sebastian Maneth. Lecture 5 ER Model, Normal Forms. University of Edinburgh - January 30 th, 2017

Applied Databases. Sebastian Maneth. Lecture 5 ER Model, Normal Forms. University of Edinburgh - January 30 th, 2017 Applied Databases Lecture 5 ER Model, Normal Forms Sebastian Maneth University of Edinburgh - January 30 th, 2017 Outline 2 1. Entity Relationship Model 2. Normal Forms From Last Lecture 3 the Lecturer

More information

Database Systems. Normalization Lecture# 7

Database Systems. Normalization Lecture# 7 Database Systems Normalization Lecture# 7 Lecture 7: Normalization Normalization (Brief Overview) Functional Dependencies and Keys 1 st Normal Form 2 nd Normal Form 3 rd Normal Form Class Activity 3 Normalization

More information

Database design III. Quiz time! Using FDs to detect anomalies. Decomposition. Decomposition. Boyce-Codd Normal Form 11/4/16

Database design III. Quiz time! Using FDs to detect anomalies. Decomposition. Decomposition. Boyce-Codd Normal Form 11/4/16 Lecture 3 Quiz time! Database design III Functional dependencies cont. BCNF and 3NF What s wrong with this schema? {(, 2, Databases, Steven Van Acker ), (, 4, Databases, Rogardt Heldal )} Redundancy! Using

More information

پوهنتون کابل پوهنحی كمپيوترساینس پوهنیار محمد شعیب "زرین خیل"

پوهنتون کابل پوهنحی كمپيوترساینس پوهنیار محمد شعیب زرین خیل پوهنتون کابل پوهنحی كمپيوترساینس : : تهیه کننده سال پوهنیار محمد شعیب "زرین خیل" 1389 Introduction to Database and Data Models - Relational Model 08 By: M Shuaib Zarinkhail 2010 Referential Integrity Constraint

More information

Introduction to Database Design, fall 2011 IT University of Copenhagen. Normalization. Rasmus Pagh

Introduction to Database Design, fall 2011 IT University of Copenhagen. Normalization. Rasmus Pagh Introduction to Database Design, fall 2011 IT University of Copenhagen Normalization Rasmus Pagh Based on KBL sections 6.1-6.8 (except p. 203 207m), 6.9 (until Multivalued dependencies ), 6.11, and 6.12.

More information

Normal Forms. Winter Lecture 19

Normal Forms. Winter Lecture 19 Normal Forms Winter 2006-2007 Lecture 19 Equivalent Schemas Many schemas can represent a set of data Which one is best? What does best even mean? Main goals: Representation must be complete Data should

More information

Normalization. Anomalies Functional Dependencies Closures Key Computation Projecting Relations BCNF Reconstructing Information Other Normal Forms

Normalization. Anomalies Functional Dependencies Closures Key Computation Projecting Relations BCNF Reconstructing Information Other Normal Forms Anomalies Functional Dependencies Closures Key Computation Projecting Relations BCNF Reconstructing Information Other Normal Forms Normalization Niklas Fors (niklas.fors@cs.lth.se) Normalization 1 / 45

More information

Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition. Chapter 9 Normalizing Database Designs

Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition. Chapter 9 Normalizing Database Designs Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition Chapter 9 Normalizing Database Designs NORMALIZATION What is normalization? Normalization is a procedure that is

More information

Functional dependency theory

Functional dependency theory Functional dependency theory Introduction to Database Design 2012, Lecture 8 Course evaluation Recalling normal forms Functional dependency theory Computing closures of attribute sets BCNF decomposition

More information

Relational Design 1 / 34

Relational Design 1 / 34 Relational Design 1 / 34 Relational Design Basic design approaches. What makes a good design better than a bad design? How do we tell we have a "good" design? How to we go about creating a good design?

More information

Chapter 2: Intro to Relational Model

Chapter 2: Intro to Relational Model Chapter 2: Intro to Relational Model Database System Concepts, 6 th Ed. See www.db-book.com for conditions on re-use Example of a Relation attributes (or columns) tuples (or rows) 2.2 Attribute Types The

More information

Lecture 4. Database design IV. INDs and 4NF Design wrapup

Lecture 4. Database design IV. INDs and 4NF Design wrapup Lecture 4 Database design IV INDs and 4NF Design wrapup Problem description We want a database that we can use for scheduling courses and lectures. This is how it s supposed to work: code name Course dept

More information

Normalisation. Databases: Topic 4

Normalisation. Databases: Topic 4 Normalisation Databases: Topic 4 Resources for this Topic Readings (text): - Chapter 3 Other Readings: - Chapple, M (n.d) Database Normalization Basics, Retrieved from http://databases.about.com/od/specificproducts/a/normalization.htm

More information

Concepts of Database Management Seventh Edition. Chapter 5 Database Design 1: Normalization

Concepts of Database Management Seventh Edition. Chapter 5 Database Design 1: Normalization Concepts of Database Management Seventh Edition Chapter 5 Database Design 1: Normalization Introduction Normalization process Identifying potential problems, called update anomalies, in the design of a

More information

Schema Normalization. 30 th August Submitted By: Saurabh Singla Rahul Bhatnagar

Schema Normalization. 30 th August Submitted By: Saurabh Singla Rahul Bhatnagar Schema Normalization 30 th August 2011 Submitted By: Saurabh Singla 09010146 Rahul Bhatnagar 09010136 Normalization Consider the following ER diagram with some FD: Instructor iid A Student sid Department

More information

Combining schemas. Problems: redundancy, hard to update, possible NULLs

Combining schemas. Problems: redundancy, hard to update, possible NULLs Handout Combining schemas Problems: redundancy, hard to update, possible NULLs Problems? Conclusion: Whether the join attribute is PK or not makes a great difference when combining schemas! Splitting schemas,

More information

Part II: Using FD Theory to do Database Design

Part II: Using FD Theory to do Database Design Part II: Using FD Theory to do Database Design 32 Recall that poorly designed table? part manufacturer manaddress seller selleraddress price 1983 Hammers R Us 99 Pinecrest ABC 1229 Bloor W 5.59 8624 Lee

More information

Institute of Southern Punjab, Multan

Institute of Southern Punjab, Multan Institute of Southern Punjab, Multan Mr. Muhammad Nouman Farooq BSC-H (Computer Science) MS (Telecomm. and Networks) Honors: Magna Cumm Laude Honors Degree Gold Medalist! Blog Url: noumanfarooqatisp.wordpress.com

More information

Introduction. Identifying potential problems, update anomalies, in the design of a relational database Methods for correcting these problems

Introduction. Identifying potential problems, update anomalies, in the design of a relational database Methods for correcting these problems 6 Normalization Objectives Discuss functional dependence and primary keys Define first normal form, second normal form, and fourth normal form Describe the problems associated with tables (relations) that

More information

CSE 562 Database Systems

CSE 562 Database Systems Goal CSE 562 Database Systems Question: The relational model is great, but how do I go about designing my database schema? Database Design Some slides are based or modified from originals by Magdalena

More information

Functional Dependencies and Normalization for Relational Databases Design & Analysis of Database Systems

Functional Dependencies and Normalization for Relational Databases Design & Analysis of Database Systems Functional Dependencies and Normalization for Relational Databases 406.426 Design & Analysis of Database Systems Jonghun Park jonghun@snu.ac.kr Dept. of Industrial Engineering Seoul National University

More information

Schema Refinement: Dependencies and Normal Forms

Schema Refinement: Dependencies and Normal Forms Schema Refinement: Dependencies and Normal Forms Grant Weddell Cheriton School of Computer Science University of Waterloo CS 348 Introduction to Database Management Spring 2016 CS 348 (Intro to DB Mgmt)

More information

E-R Modeling: Table Normalization

E-R Modeling: Table Normalization E-R Modeling: Table Normalization Normalization Normalization of DB Tables Process for evaluating and correcting table structures determines the optimal assignments of attributes to entities Normalization

More information

Schema Refinement: Dependencies and Normal Forms

Schema Refinement: Dependencies and Normal Forms Schema Refinement: Dependencies and Normal Forms Grant Weddell David R. Cheriton School of Computer Science University of Waterloo CS 348 Introduction to Database Management Spring 2012 CS 348 (Intro to

More information

Edited by: Nada Alhirabi. Normalization

Edited by: Nada Alhirabi. Normalization Edited by: Nada Alhirabi Normalization Normalization:Why do we need to normalize? 1. To avoid redundancy (less storage space needed, and data is consistent) Ssn c-id Grade Name Address 123 cs331 A smith

More information

CS252:HACD Fundamentals of Relational Databases Notes for Section 9: Database Design Issues, Part II

CS252:HACD Fundamentals of Relational Databases Notes for Section 9: Database Design Issues, Part II File: CS252-HACD-Notes9.doc Printed at: 16:15 on Wednesday, 29 September, 2010 1. Cover slide CS252:HACD Fundamentals of Relational Databases Notes for Section 9: Database Design Issues, Part II Now at

More information

Draw A Relational Schema And Diagram The Functional Dependencies In The Relation >>>CLICK HERE<<<

Draw A Relational Schema And Diagram The Functional Dependencies In The Relation >>>CLICK HERE<<< Draw A Relational Schema And Diagram The Functional Dependencies In The Relation I need to draw relational schema and dependency diagram showing transitive and partial Functional dependency and normalization

More information

Relational Database Systems 1. Christoph Lofi Simon Barthel Institut für Informationssysteme Technische Universität Braunschweig

Relational Database Systems 1. Christoph Lofi Simon Barthel Institut für Informationssysteme Technische Universität Braunschweig Relational Database Systems 1 Christoph Lofi Simon Barthel Institut für Informationssysteme Technische Universität Braunschweig www.ifis.cs.tu-bs.de 10.0 Introduction Up to now, we have learned... how

More information

Database Systems. Basics of the Relational Data Model

Database Systems. Basics of the Relational Data Model Database Systems Relational Design Theory Jens Otten University of Oslo Jens Otten (UiO) Database Systems Relational Design Theory INF3100 Spring 18 1 / 30 Basics of the Relational Data Model title year

More information