Preview

Chapter 3: Table Normalization and Windows Azure SQL Database

Good Essays
Open Document
Open Document
628 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Chapter 3: Table Normalization and Windows Azure SQL Database
Chapter 3: Table Normalization and Windows Azure SQL Database
Review Questions
1. What are the conditions for a table to be a relation? Each cell in a table must contain a single value, there should be no duplicated rows, and all the cells in a column must contain the same type of data
2. How do you link a table to another table? Link tables based on a relationship connecting the entities with common column in each table
3. What is functional dependency? Give an example of functional dependency. a functional dependency is a constraint between two sets of attributes in a relation from a database. PubID determines the pubName, City, State, and Country.
4. What is a primary key? A candidate key to uniquely identify other columns in the relation
5. What is a foreign key? A column or a set of columns whose values match the values of the primary key in another relation
6. Describe update anomalies by using an example. . Membership fees needs to increase to Soccer; all students in Soccer will need to change for all rows and will accumulate process for large table
7. Describe insertion anomalies by using an example. . Inserting a new class requires student and class id so new classes cannot be added
8. Describe deletion anomalies by sing an example. . Deletion of a student after graduation causes deletion of other information in the same rows, such as courses, clubs, and etc.
9. Why do tables need to be normalized? Helps eliminate modification anomalies and reduce data redundancy
10. Why is the highest-level normalization not always desirable? There is no general rules that will tell us which business requirements can be implemented during the design stage and which ones should be implemented in the application programs
11. What are the requirements for 1NF? Each cell in the table contains a single value, each column has a unique column name and all the data entries in the column have the same data type, and no duplicate rows; primary key is used uniquely

You May Also Find These Documents Helpful

  • Satisfactory Essays

    PT2520 Unit7Labs Tramil

    • 330 Words
    • 1 Page

    3. What is a foreign key? This primary key becomes a foreign key when it is repeated in another table to create a link between the tables.…

    • 330 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    20 F | Normalization is about designing databases so they work well on the computer, not about readability.…

    • 313 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    It203 Homework 5

    • 319 Words
    • 2 Pages

    In the table design view, right click the column name of the entity you want to create a relationship with and then select "Relationships" which opens the Properties window with the Relationships tab selected. Click on "New" and then verify the "Primary key table" and "Foreign key table". Select the primary key from the grid below the "Primary key table" name (left side of grid) and then select the column name you right-clicked on earlier from the grid below the " Foreign key table" name (right side of grid). Selecting each one in turn sets the two into the desired relationship.…

    • 319 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    7) In a one-to-many relationship, each row on in the primary key table can be related to any number of rows in the foreign key or child table.…

    • 613 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Pt2520 Final Answers 1/3

    • 329 Words
    • 2 Pages

    when u get a many to many: make a linking table that resolves the many to many into 2 1-1 relationships.…

    • 329 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    It2640 Week 5 Appendix B

    • 632 Words
    • 3 Pages

    Entities for this database application will include a Customer, Products, Orders, Sales Rep and Shipping table. The attributes for the following tables are as follows:…

    • 632 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    IST223 Crib sheet

    • 3425 Words
    • 7 Pages

    rectangles, and relationships are shown by lines between the rectangles. Attributes are generally listed within the rectangle. The many side of many relationships is represented by a crows footentity-relationship (E-R) modelA set of constructs and conventions used to create data models. The things in the users world are represented by entities, and the associations among those things are represented by relationships. The results are usually documented in an entity-relationship (E-R) diagramID-dependent entityan entity whose identifier includes the identifier of another entityidentifierwhich are attributes that name, or identify, entity instancesidentifying relationshipIn such relationships, the parent is always required, but the child (the ID-dependent entity) may or may not be required, depending on application requirements. Identifying relationships are shown with solid lines in E-R diagrams.is-aRelationships among supertype/subtype entitiesmandatoryat least one entity instance must participate in the relationshipmaximum cardinalityThe maximum cardinality is the maximum number of entity instances that can participate in a relationship instance.minimum cardinalityThe minimum cardinality is the minimum number of entity instances that must participate in a relationship instance.nonidentifying relationshiprelationship drawn with a dashed line (refer to Figure 5-7) is used between strong entities and is called a nonidentifying relationship because there are no ID-dependent entities in the relationship.null valueare a problem because they are ambiguous. They can mean that a value is inappropriate, unknown, or known, but not yet been entered into the databaseparentAn entity or row on the one side of a one-to-many relationshiprecursive relationshipoccurs when an entity type has a relationship to itself.relationship classAssociations among entity classesrelationship instanceassociations among entity instances.strong entityan entity that represents something that can exist…

    • 3425 Words
    • 7 Pages
    Powerful Essays
  • Satisfactory Essays

    cis3730_Exam1_Studyguide

    • 512 Words
    • 2 Pages

    Be able to give examples of tables, specify their primary keys, and explain how they are related through foreign keys.…

    • 512 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    The normalization of the data helps to design the new databases so that it will meet the goals and to test the databases to see if the goals are met. The database designers will at times refer to the goals as data integrity, referential integrity, or keyed data access. It will be ideal to normalize the data before the database tables are made.…

    • 752 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Nt1320 Unit 7

    • 2041 Words
    • 9 Pages

    2) Once the users have validated and approved the data model, it is transformed into a ________.…

    • 2041 Words
    • 9 Pages
    Good Essays
  • Good Essays

    Defining a(n) primary key in a second table creates a relationship between that table and the table where the primary key was first defined. _________________________…

    • 585 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    This memo is to inform you that your service request SR-ta-001 has reached my desk and currently is in the process of being completed. The purpose of this memo is to report the progress on the service requests. Currently I am in the stage of normalizing the database to the third normal form. By normalizing the database to the third level of normalization I will ensure that the data is efficiently organized within the database by removing duplicate and redundant data from the database relations. Normalizing the data to the normal third will help free up space and make it easier for the users to retrieve the data by elimination of the same data stored in more than one relation. In addition, normalizing to this level will also ensure data integrity, scalability, and storage efficiency. I have made sure that that there are no repeating columns or rows within the same tables and each column has only one value and one data type therefore the level of 1 normalization has been completed. I then continued to normalize the database to the second level of normalization by ensuring that each nonkey attribute is fully dependent on the key columns of the table. Once level one and two normal form had been completed I continued by establishing primary and foreign keys along with relationships. I will keep in contact with you as the project nears completion.…

    • 329 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    week 4 Discussion 1

    • 447 Words
    • 2 Pages

    Normalization is the process of organizing data in a database. This includes creating tables and establishing relationships between those tables according to rules designed both to protect the data and to make the database more flexible by eliminating redundancy and inconsistent dependency.…

    • 447 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    assign1

    • 309 Words
    • 1 Page

    iVideo, a local video renting shop, is considering creating a database to keep track of…

    • 309 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    Database concepts

    • 586 Words
    • 3 Pages

    In relational database theory, a functional dependency is a constraint between two sets of attributes in a relation from a database.…

    • 586 Words
    • 3 Pages
    Good Essays