Preview

Database

Satisfactory Essays
Open Document
Open Document
330 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Database
Database management
Homework 1

Chapter 1. Getting started

A. Create a simple list of owners and properties.

B. Describe modification problems.

There are three problems. First is deletion problem, second is update problem, third is insertion problem. Deletion problem is when you want to delete data, you may lost too much data. Update problem is when you want to update data, the sheet may have inconsistent data. Last insertion problem is when you want to insert some data, you must insert a row with incomplete values, called null values.

C. Split the list into tables. Create appropriate ID columns.

Create appropriate ID columns. : ID column is ID column.

Use a linking column.

Deletion problem

Insert problem

Update problem

D. Create a simple list of owner, properties, services.

E. Illustrate modification problems to maintain the list from part D.
There are three problems. First is deletion problem, second is update problem, third is insertion problem. F. Split the list from part D.

Use a linking column.

Deletion problem

Insert problem

Update problem

Chapter 2. The relation model

A. Using these data, state assumptions about functional dependencies. Justify your assumptions

Gardern Glory(PropertyName, Type, Street, City, ZIP, ServiceDate, Description, Amount )

PropertyName → Type, Street, City, ZIP , Description, Amount
(Type, Street, City, ZIP, Amount) → PropertyName

B. Comment on the appropriateness of the following designs

9. PROPERTY(PropertyID, PropertyName, Type, Street, City, ZIP)
SERVICE(ServiceID, ServiceDate, Description, Amount, PropertyID).

C. SERVICE-FEE(PropertyID, ServiceID, Description, Amount)
Add this table to what you consider to be the best design in your answer to part B.

Modify the tables from part B as necessary to minimize the amount of data duplication. PROPERTY(PropertyID, PropertyName, type, street, city, zip, amount)

You May Also Find These Documents Helpful

  • Satisfactory Essays

    It203 Homework 5

    • 319 Words
    • 2 Pages

    When you have your Foreign Keys set up correctly, and have Cascade Update & Cascade Deletes set as needed, that's just about all you really need to do. It is used to make sure that data doesn't get orphaned.…

    • 319 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    M1 Unit 4 Assignment

    • 438 Words
    • 2 Pages

    2. Update the employee table and provide a salary for each employee using the salary column added in the previous problem. Validate the rows are there using a SELECT clause.…

    • 438 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    If you do not allow nulls, you must enter a value into the column to continue.…

    • 327 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

    9. (TCO 1) You should use Access rather than Excel to manage your data when you (Points : 4)…

    • 368 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Garden Glory chapter 1

    • 824 Words
    • 4 Pages

    Updating value: For example, there will be problem changing the phone number of the owner. We have to change phone number on three places and if we don’t we will have inconsistency in the data.…

    • 824 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Pride Case Study

    • 486 Words
    • 2 Pages

    References: Person(PersonID) On Delete No Action” ensures that every row from Workout table will correspond to some row in the Person table.…

    • 486 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Rocky Mountain Outfitters

    • 258 Words
    • 2 Pages

    Verify that the new classes and relationships are accurately represented in the updated relational database design that you developed for question 1.…

    • 258 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    3. Identify the broad activity categories and create cost pools by assigning the costs from Table 2 to the pools.…

    • 436 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Complete Exercise 5 on page 284 Write SQL commands for the following: a. Create two different forms of the INSERT command to add a student with a student ID of 65798 and last name Lopez to the Student table. b. Now write a command that will remove Lopez from the Student table. c. Create an SQL command that will modify the name of course ISM 4212 from Database to Introduction to Relational Databases…

    • 368 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    Doctor

    • 2483 Words
    • 9 Pages

    For this assignment, you will NOT create a database. You will list the type of data you want to collect, group it accordingly, break it into field and determine attributes. Think about how the different pieces of data relate to one another and what purpose they serve. You may use Excel, Word, or Visio for this assignment.…

    • 2483 Words
    • 9 Pages
    Satisfactory Essays
  • Powerful Essays

    IST223-GHW7FS13

    • 2215 Words
    • 9 Pages

    Specify NULL/NOT NULL constraints for each table column. Also specify alternate keys, if any. Use the following table form.…

    • 2215 Words
    • 9 Pages
    Powerful Essays
  • Satisfactory Essays

    Sql-Cheat-Sheet

    • 360 Words
    • 2 Pages

    VALUES ('John', 'Smith', '10/10/2010') How to update data in a table How to delete data from a table UPDATE SET = , = , … WHERE Example: UPDATE Orders SET FirstName = 'John', LastName = 'Who' WHERE LastName='Wo' DELETE FROM…

    • 360 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Avr Reservation System

    • 1684 Words
    • 7 Pages

    We present the main entity types of this database. For each entity type, we provide some of the corresponding attributes. Use this information in order to: (a) Build an Enhanced E-R diagram; (b) Transform the Enhanced E-R diagram to a relational database. Identify the primary key(s) and the foreign key(s) for each relation. Draw the relational integrality constraints; (c) For each of the relations created, indicate its normal form. If the relation is not in the 3NF, decompose it into 3NF relations.…

    • 1684 Words
    • 7 Pages
    Good Essays
  • Good Essays

    To fully understand these tutorials please download the source code How to Add/Update/Delete Record using MS Access Database.…

    • 1775 Words
    • 8 Pages
    Good Essays