Write the relational schema

Assignment Help Database Management System
Reference no: EM13704527

1.  Using the INVOICE table structure shown in Table P6.3, do the following.

Table P6.3 Sample INVOICE Records

Attribute Name

Sample Value

Sample Value

Sample Value

Sample Value

Sample Value

INV_NUM

211347

211347

211347

211348

211349

PROD_NUM

AA-E3422QW

QD-300932X

RU-995748G

AA-E3422QW

GH-778345P

SALE_DATE

15-Jan-2010

15-Jan-2010

15-Jan-2010

15-Jan-2010

16-Jan-2010

PROD_LABEL

Rotary sander

0.25-in. drill bit

Band saw

Rotary sander

Power drill

VEND_CODE

211

211

309

211

157

VEND_NAME

NeverFail, Inc.

NeverFail, Inc.

BeGood, Inc.

NeverFail, Inc.

ToughGo, Inc.

QUANT_SOLD

1

8

1

2

1

PROD_PRICE

$49.95

$3.45

$39.99

$49.95

$87.75

a.   Write the relational schema, draw its dependency diagram, and identify all dependencies, including all partial and transitive dependencies. You can assume that the table does not contain repeating groups and that any invoice number may reference more than one product. (Hint: This table uses a composite primary key.)

 

We have combined the solutions to Problems 3a and 3b to let you illustrate the start of the normalization process within a single PowerPoint slide. Students generally seem to have an easier time understanding the normalization process if they can compare the normal forms directly. We will continue to use this technique for several of the initial normalization decompositions...if the available PowerPoint slide space permits it.

b.   Remove all partial dependencies, draw the new dependency diagrams, and identify the normal forms for each table structure you created.

You can assume that any given product is supplied by a single vendor, but a vendor can supply many products. Therefore, it is proper to conclude that the following dependency exists:

PROD_NUM → PROD_DESCRIPTION, PROD_PRICE, VEND_CODE, VEND_NAME

(Hint: Your actions should produce three dependency diagrams.)

 

c.   Remove all transitive dependencies, and draw the new dependency diagrams. Also identify the normal forms for each table structure you created.

d.   Draw the Crow's Foot ERD.

Emphasize that, because the dependency diagrams cannot show the nature (1:1, 1:M, M:N) of the relationships, the ER diagrams remain crucial to the design effort. Complex design is impossible to produce successfully without some form of modeling, be it ER, semantic object modeling, or some other modeling methodology. Yet, as the preceding decompositions demonstrate, the dependency diagrams are a valuable addition to the designer's toolbox. (Normalization is likely to suggest the existence of entities that may not have been considered during the modeling process.) And, if information or transaction management issues require the existence of attributes that create conditions other than 3NF or BCNF, the proper dependency diagrams will at least force awareness of these conditions.

Reference no: EM13704527

Questions Cloud

Calculate the work done by the steam during this process : Five kilogram of saturated water vapor at 300 kPa is heated at constant pressure until its temperature reaches 200oC. Calculate the work done by the steam during this process.
Determine the value of the polar coordinates of the point : A particle moves along a spiral described by the equation r=r(inital)+kappa*theta, where r(inital) and kappa are constants, and where theta is in radians. Assume that theta dot =alpha*time, where alpha= 0.15rad/s^2 and t is time expressed in seconds.
Cold cranking amperes of a conventional lead-acid : The cold cranking amperes (CCA) of a conventional lead-acid automobile battery is the amount of current the battery can provide at 0°F for 30 seconds and minute in at least 1.2 volts per cell (or 7.2 volts for a standard 12-volt battery). If a batter..
Aircraft executes horizontal turn at constant true air speed : In a correctly banked turn of radius R, an aircraft executes a horizontal turn at constant true air speed, V, with no sideslip and zero roll rates. The aircraft must bank at an angle phi from the horizontal so that the horizontal component of its lif..
Write the relational schema : Write the relational schema, draw its dependency diagram, and identify all dependencies, including all partial and transitive dependencies.
Calculate the average test score and display it : Write a program that asks for five test scores. The program should calculate the average test score and display it. The number displayed should be formatted in fixed-point notation, with one decimal point of precision.
Write a program to find a baseball players batting average : Write a program to find a baseball player's batting average. The program should ask the user to enter the number of times the player was at bat and the number of hits he got. It should then show his batting average to four decimal places.
How many tickets for each class of seats were sold : Prepare a program that asks how many tickets for each class of seats were sold, then shows the amount of income generated from ticket sales.
Representation in both hexadecimal and binary : Show 75 in the IEEE single precision floating point representation in both Hexadecimal and Binary. Please demonstrate the steps so I can emulate.

Reviews

Write a Review

Database Management System Questions & Answers

  Scanner object associated with standard input

Assume that name1, name2, and name3 have been declared and use them in your code. Assume also that stdin is a variable that reference a scanner object associated with standard input.

  Create a database design - relational data model

Create a database design specification Enhanced Entity Relationship Diagram (EERD) and Relational Data Model from the given business description - Database Management System

  Use case diagram for the functional requirements

Analyse the Case Study documents and produce an initial high level functional requirements specification. Document these requirements with.

  Summarize the difference between on-line transaction

your database has been a hit. you have been called back to the customers headquarters and they want a detailed report

  Write down a 350-word summary explaining two of the most

write a 350-word summary describing two of the most popular database vendors in the marketplace. answer the following

  Write a program to sort back into a single file

Write a program to sort these back into a single file. Oh, and we only have a few nanoseconds to do it, so you'd better do it with pthreads!

  Explaining uses for views

Views are integral part of virtual private databases, yet views are utilized for many other reasons. Find out many other uses for views.

  Display the averaged measurements every time

The application uses hash tables - for a brief introduction, refer tothese slides . While the approach used by the simulator is very basic (using a dilated simulation clock), it is has been deemed sufficient for the purpose at hand.

  Ways of implementing one-to-one relationships

Describe the difference ways of implementing one-to-one relationships. Assume you are maintaining information on offices (office numbers, building, and phone numbers)

  Suppose we have a relation employees ssn name department

suppose we have a relation employees ssn name department salary.nbspfor each of the following queries either write the

  Build entity relationship model military information system

Build an entity relationship model for the above scenario. Show all attributes and indicate all of your key attributes in red.

  Build a gantt chart using microsoft project

Discuss what it will take to build a Web architecture, move an existing Website with minimal downtime, and provide a disaster recovery solution to ensure the site is always available.

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