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

    2. What is a primary key? Each table usually has one column designated as a primary key . This key uniquely identifies each row in the table.…

    • 330 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    16 F | You should limit repetition of attributes to the repetition of the primary key as a foreign key in a related table.…

    • 313 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    It203 Homework 5

    • 319 Words
    • 2 Pages

    A primary key is specified by the selecting the column, right-clicking, then selecting Set Primary Key.…

    • 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
  • 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
  • Satisfactory Essays

    cis3730_Exam1_Studyguide

    • 512 Words
    • 2 Pages

    Given a table or a set of tables, be able to specify their primary keys and foreign keys.…

    • 512 Words
    • 2 Pages
    Satisfactory 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
  • 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

    Pt2520 Final Answers 1/3

    • 329 Words
    • 2 Pages

    which of the following best describes an attribute that can be primary key? candidate key…

    • 329 Words
    • 2 Pages
    Satisfactory 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
  • 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
  • Good Essays

    The database normalization is a technique that is used to organize the contents in the tables for transactional databases and also data warehouses. The normalization is a portion of designing the database with success, without this the database systems may be inaccurate, inefficient, slow, and they may not create the data that is expected. Following a SQL Server installation that is successful a database will need to be created that will hold the data. After the database framework has been created, the files must be organized in a way that can be easily managed. The primary tool that will help organize the data will be the table that will look like a two-dimensional structure that encompasses rows and columns. When the database is normalized there will be four goals to maintain. These goals will be to organize data in logical groupings that each group will describe a small part of the whole; lessening the amount of duplicated data that is saved in the database; organize the data that so that when it is modified the change can be made in only one place; also building a database where the data can be accessed and manipulated quickly, efficiently, and without compromising the integrity of the data that is stored.…

    • 752 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    week 4 Discussion 1

    • 447 Words
    • 2 Pages

    Many legacy systems require normalization. Identify at least two factors that should be considered in order to produce an optimal normalized set of tables when performing normalization. Include in your discussion a detailed example on how each factor would eliminate data redundancy.…

    • 447 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Database concepts

    • 586 Words
    • 3 Pages

    In database normalization, one of the important features of third normal form is that it excludes certain types of transitive dependencies. E.F. Codd, the inventor of the relational model, introduced the concepts of…

    • 586 Words
    • 3 Pages
    Good 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