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

  Make a spreadsheet to compare e-commerce sites

create a spreadsheet to compare the three identified e-commerce hosting sites and the e-commerce hosting site that you find • prepare a PowerPoint presentation that represents the presentation you would give to management explaining your selection..

  Design of database systems

Write a trigger that will increment the new field numHours in the Employee table automatically whenever a record is inserted in the Works table - Create a view that shows the eids and managerids in Sales department.

  Database containing student info

Create a database containing student info (name, age, ect.).Find a way to allow the user to search the database using a students name and allowing them to delete that students information.Use binary input/output to take the input from the user for th..

  Database technologies what is lan based database management

what is lan based database management system ltbrgtgive an example of lan based database management system with a

  Create 3 rows of data for each table ensuring

Write SELECT statements for the following (include a screenshot of the SQL and its execution, including the resulting data).

  Create the database using three tables

Create the database using three tables: one for student information, one for advisor information, and one for department information.

  Clustered versus unclustered indexes

Choice of search key for the index. What is a composite search key, and what considerations are made in choosing composite search keys? What are index-only plans, and what is the in?uence of potential index-only evaluation plans on the choice of sear..

  Worst-case performance of the fifo

Construct a scenario leading to the worst-case performance of the FIFO buffer replacement policy - determine if it is conflict serializable or not

  Design premiere products databas-shows relationship

Indicate changes you require to make to design of Premiere Products database to support following situation: There is no relationship between customers and sales reps.

  You are to design a database for an insurance company the

you are to design a database for an insurance company. the data will include information about customers name address

  Explain your experiences related to your setup of mysql

write a one to two 1-2 page paper in which youq1. describe your experiences related to your setup of mysql. include any

  Optimizing sql server query performance how to optimizing

how to optimizing sql server query performance? when optimizing your database server you need to tune the performance

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