Draw the dependency diagram and identify all dependencies

Assignment Help Database Management System
Reference no: EM131961968

Assignment

Question 1

Sales

CUS_ID

Name

Ord_NO

Ord_Date

Prod_ID

Description

Qty_Ord

C001

Gold

O81

15-Apr

P005

Chisel

6

C001

Gold

O81

15-Apr

P004

Plane

14

C075

Red

O99

16-Apr

P015

Saw

3

C009

Blue

O56

16-Apr

P033

Punch

24

C009

Blue

O56

16-Apr

P004

Plane

9

C001

Gold

O88

17-Apr

P015

Saw

10

Using the above Sales table structure, perform the followings:

Exercise 1:

Write the relational schema for the above table, draw the dependency diagram, and identify all dependencies, including all partial and transitive dependencies. You may assume that an order number references more than one product and that the table does not contain repeating groups.

Exercise 2:

Write the relational schemas after removing all partial dependencies and draw the new dependency diagrams. Identify the normal form for each created table structure.

Exercise 3:

Write the relational schemas after removing all transitive dependencies and draw the new dependency diagrams. Identify the normal form for each created table structure.

Exercise 4:

Draw the Entity Relationship Diagram (ERD) according to the result of Exercise 3.

Question 2:

You are given the following table structure with sample data in it.

PET ID

PET NAME

PET TYPEPET AGEOWNERVISIT DATE        PROC_ID    PROCEDURE

246

ROVER   

DOG

    12

    SAM COOK

JAN 13/2002         01                 RABIES VACCINATION

 

 

 

 

 

MAR 27/2002        10                EXAMINE and TREAT WOUND

 

 

 

 

 

APR 02/2002          05                HEART WORM TEST

 

 

 

 

 

 

298

SPOT      

DOG

    2

    TERRY KIM

JAN 21/2002          08                TETANUS VACCINATION

 

 

 

 

 

MAR 10/2002        05                 HEART WORM TEST

 

 

 

 

 

 

341

MORRIS 

CAT

    4

    SAM COOK

JAN 23/2001         01                RABIES VACCINATION

 

 

 

 

 

JAN 13/2002         01                RABIES VACCINATION

 

 

 

 

 

 

519

TWEEDY 

BIRD

    2

    TERRY KIM

APR 30/2002         20               ANNUAL CHECK UP

 

 

 

 

 

APR 30/2002         12                EYE WASH

Exercise 1:

Draw the dependency diagram of the table, and normalize the table to ensure all generated tables are in 3NF. Present all tables generated from the normalization.

Exercise 2:

Write SQL code to create the generated tables.

Reference no: EM131961968

Questions Cloud

Growing focus on e-commerce : The past few years. Business-to-consumer (B2C) e-commerce spending surpassed SAR 29.7 billion in 2016.3 Saudi Arabia's young population
Which of fall operating segments would be considered : Which of Fall's operating segments would be considered reporting segments under the "revenue" test and the "asset" test
What is the purpose of martial law : What would have to be the magnitude of an event for the government to decide to initiate martial law? Why?
How the fluctuation of crude oil affect : How the fluctuation of crude oil affect (1) the various aspects of the exchange process (the market, the agents involved, the equilibrium outcome).
Draw the dependency diagram and identify all dependencies : Write the relational schema for the above table, draw the dependency diagram, and identify all dependencies, including all partial and transitive dependencies.
How might you defend your trace evidence : In court, the Defense challenges your findings in this case as circumstantial. How might you defend your trace evidence?
Aargue your opinion for preventing arson dog findings : Arson dogs are useful tools for finding accelerants in locations where human investigators cannot.
Research the findings of the ucr and nibrs : Criminologists use crime data to measure the nature and extent of criminal behavior, as well as the personality, attitudes, and background of criminal offenders
Discuss the threats that stgs pose to correctional agencies : Identify at least two specific issues that correctional administrators are facing as this segment of the inmate population continues to expand.

Reviews

Write a Review

Database Management System Questions & Answers

  Create database tables using libreoffice base

Create database tables using LibreOffice Base - Create queries and forms using LibreOffice Base and SQL and - Identify IT controls needed and ethical, privacy and security issues the organisation might encounter when using databases.

  Pros and cons in agile and waterfall project management

Evaluate the pros and cons in agile and Waterfall project management in terms of planning and the execution of projects and collaboration among project team members.

  I describe the application that you would like to design

i. describe the application that you would like to design. this should include the purpose of the application and an

  Draft the requirements for the new web site

Draft the requirements for the new Web Site - questions including all the SQL scripts that you may have created. You also must provide screen shots of specific portions of the work you have done, especially the final results and some important inte..

  Important factors considered in selecting a software vendor

Explain why it should be considered and potential consequences of not considering the factor in selection of a software vendor

  Compare the database backup and disaster planning

This research paper will describe, compare and contrast Database Backup & Disaster Planning. You are IT Manager for a major bank. The bank includes services such as checking accounts, savings accounts, and issues loans.

  What are the advantages of using the vpd mechanism

What are the advantages and disadvantages of using the VPD mechanism to control access to data sub-themes: What can VPDs do the views cannot?

  Thread risk analysis and modeling process

Determine the threats and countermeasures for system components and determine the Threat Risks - Decompose the application. Create high level diagrams of system components

  Explain what is the nosql movement

Using the Internet or other sources to find two dominate Cloud DBMS vendors and their latest products. Give the URLs for these DBMSs. Explain what is the NoSQL movement. Find one "DBMS" that is NoSQL. Explain what is Vertia. What are the features of..

  Identify the features of the database using facts and data

Identify the mission statement of the database, what is its role in law enforcement.Identify the features of the database, using facts and data. For example, what data is in the database, how many entries, what type of information, how is it access..

  Database implementation in mysql

After receiving 21 different setups, the management of Oak Creek Stadium has decided on the attached ER diagram and instance tables for the development of a database to keep track of its operations.

  Demonstrate several steps of the database life cycle

Demonstrate several steps of the Database Life Cycle (DBLC) for a database you will create - propose a new database system

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