DBS201 Introduction to Database Design and SQL Assignment

Assignment Help Database Management System
Reference no: EM132400046

DBS201 - Introduction to Database Design and SQL - Seneca College

Normalization
(UNF,1NF)
Objective:
• Students create the Un-normalized Form (UNF) relation from a user view.
• Students identify a Multi-valued Dependency(a.k.a. Repeating Group )
• Students create the First Normal Form (1NF) relation from the UNF.

Instructions:

Step 1: Create UNF Relation from a User View. The goal here is to create a single relation for the data found in the user view. The method used is:
- Examine the user view
- Identify all attributes
- Describe the user view using DBDL

Here is an example of a user view. This reports lists the customers of the Premiere Corporation.

A. Examine the user view: As you examine this report, you can see that it contains a title, a line of column headings and the body of the report. Each line in the body of the report contains data about a particular customer. For example we can see that in the first line of the body of the report, there is data about Customer 124. This customer's name is Sally Adams and she lives at 482 Oak in Lansing, Michigan (MI). The Sales Representative who calls on Sally Adams is Sales Rep Number 03.
B. Identify all attributes: The attributes (or characteristics) of a User View can often be found by simply looking at the column headings. In our Customer Report we see that we have the following attributes: Customer Number, Customer Name, Street, City, State, Zip Code and Sales Representative Number.
C. Describe the relation using DBDL: Database Design Language (DBDL) is a standardized way of describing relations of a relational database. You describe a relation by:
a. Choose an appropriate name for the relation. We chose to name our relation CUSTOMER because each line in the report describes customer data.
b. List the attributes you found in the user view inside square brackets, giving each attribute a suitable attribute name. Note: calculated fields or derived fields should not be included in the DBDL
c. Determine which attribute would be suitable as a primary key and underline that attribute.
The DBDL for the relation resulting from our Customer user view would look as follows:

CUSTOMER [ CustNo, CustName, CustStreet, CustCity, CustSt, CustZip, CustRep ]

Now you try it. Examine the following report:

What type of data does each line in the report represent?

What attributes can you identify from the user view?

What would be a suitable name for the UNF relation?

Which attribute would be suitable as a primary key?

Describe the UNF relation using DBDL:

Step 2: Recognize Multi-valued Dependencies.

For example, looking at the following User View, we see that for each Customer number, it is possible to have multiple values for the order number and order date attributes. Therefore the order number and date are a multi-valued dependency.

Identify multi-valued dependencies in DBDL by placing brackets around them. For example the DBDL for this User View would look like this:

CUSTOMER [ CustNo, CustName, ( OrderNum, OrderDate ) ]

Notice the brackets around the OrderNum and Orderdate attributes. This quickly and easily identifies a multi-valued dependency to someone who is reading the DBDL.

Common Mistake: A common mistake is to incorrectly identify repeating data as a multi-valued dependency. For example, the previous report could also have been printed in the following way:

Step 3: Create 1NF relations from UNF.

Therefore, the process of taking a relation from UNF to 1NF, involves resolving the multi-valued dependencies.

Method:
- Choose a primary key for the multi-valued dependancy.
- Identify the primary key of the multi-valued dependancy by underlining it or writing (PK) .
- Rewrite the DBDL by removing the paranthesis and concatenating the original primary key with the primary key of the multi-valued dependency.
- Rewrite the DBDL with the two-part Primary Key and include all the non-key attributes.

Attachment:- Normalization.rar

Reference no: EM132400046

Questions Cloud

EEE8129 Intelligent Signal Processing Assignment : EEE3004/EEE8129 Intelligent Signal Processing Assignment Help and Solution. School of Engineering - Newcastle University, UK. Investigate effects of leakage
Strong appetite for portfolio acquisitions : You are the head of financial analysis for a Holding Company, with significant liquidity, and a strong appetite for portfolio acquisitions.
BST231 HRM Context and Strategy Assignment Problem : BST231 HRM Context and Strategy Assignment Help and Solution, Assessment Writing Service - Cardiff University - To what extent were the HRM changes in line with
Players of derivatives markets : Discuss the derivatives markets of your proposed new options contracts. discussions and examples of the major types of investors/traders
DBS201 Introduction to Database Design and SQL Assignment : DBS201 Introduction to Database Design and SQL Assignment Help and Solution, Seneca College - Assessment Writing Service Identify multi-valued dependencies.
Compare and contrast vertical and horizontal integration : Compare and contrast vertical and horizontal integration. What are some of the variables make each of these integrations valuable?
Role of the media in the dissemination of the press release : Explain the speed or timing of the release and dissemination of the press release and Describe key interest groups and their agendas in relation to the press.
Submit a business intelligence solution framework : In this assignment, you will submit a business intelligence solution framework for a university with one online and two physical campuses
Indirect approach informing your sales team of the news : Write a negative news message in a direct or indirect approach informing your sales team of the news.

Reviews

Write a Review

Database Management System Questions & Answers

  Rationale for fragmentation choices is clearly tied

Fragmentation strategy-Rationale for fragmentation choices is clearly tied to the facts in the business case. considerations for horizontal, vertical and mixed approaches were explored.

  Describes how the proposed system is to be built

Create a company and choose a product. Use the SDLC to define an ES system that integrates TWO of the process for this product. Identified above works with the current and future system users to define and model the current business processes in det..

  Analyze the entities - relationships between these entities

Develop and document the SQL necessary to create at least 3 of the related tables in the new database structure and create the tables in the new database.

  Describe what the role of the database administrator is and

discuss what the role of the database administrator is and why it is such an important role in the company. do we

  Design the logical structure of a database

Design the logical structure of a database using Entity-Relationship diagram - Apply normalization techniques to reduce redundancy in a database.

  Compute numbers of married men-single men from table

Compute the numbers of married men, single men, married women and single women. Print these numbers on a student summary report.

  Write the first line fo the definition for a poodle class

Design a class and a program that creates an object of the class and prompts the user to enter the name, type, and age of his or her pet.

  Identify and classify toxic online comments

Toxic Comment Classification (Open Competition Project) - Identify and classify toxic online comments. Discussing things you care about can be difficult

  Write only two commands to accomplish this task.

Write only two commands to accomplish this task. Save your work as a .sql file.

  Analyse the behaviour of the most important stateful object

Analyse the behaviour of the most important stateful object of the system and document this behaviour with.

  Dashboard and storybook development using cognos analytics

DATA 610 – Decision Management Systems - University of Maryland University College - Dashboard and Storybook development using Cognos Analytics

  Calculate the idf weight vector

Compare the rankings that you obtained using the two similarity measures. If there are differences between the rankings, then discuss why you think these differences occurred - calculate the idf weight vector.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd