Draw dependency diagram using the data in the given table

Assignment Help Database Management System
Reference no: EM131062197

Database Design Assignment Problem

Laboratory

Lab involves two parts.

Part A involves normalizing a small part of a DB. The steps to complete this exercise include getting the data items into 1NF, 2NF, and 3NF. The final step is to generate the ERD for the table or tables that are in the dependency diagram in 3NF.

Part B provides practice in the creation of realistic tables and their relationships using Oracle SQL*Plus and introduces writing SQL*Plus script files. This laboratory exercise creates a relatively simple invoice system using SQL statements. This DB schema is used throughout the next several weeks of laboratory exercises. The final product is an SQL script that makes it possible to initially create and re-create, if need be, the DB schema in order to do to the later laboratory exercises.

Part A:

Purpose:

This exercise involves normalizing a small part of a DB. The steps to complete this exercise include getting the data items into 1NF, 2NF, and 3NF. The final step is to generate the ERD for the table or tables that are in the dependency diagram in 3NF.

Discussion:

Some small business wants to keep track of office furniture, computers, printers, etc. A sample of the ITEM records is shown below:

ATTRIBUTE NAME

SAMPLE VALUE

SAMPLE VALUE

SAMPLE VALUE

ITEM_ID

D1342245

D1453356

D1365779

ITEM_DESCRIPTION

IQ Deskjet 683P

IQ Toner

DT Photocopier

ROOM_NUMBER

227

227

342

BLDG_CODE

SC

SC

ET

BLDG_NAME

Science

Science

Electronics Technology

BLDG_MANAGER

A. B. Jones

A. B. Jones

R. S. Smith

1. Draw the dependency diagram using the data in the table. Make sure to label the transitive and partial dependencies.

2. Using the dependency diagram developed in step 1, create a set of dependency diagrams that meet 3rdNormal Form requirements. Rename attributes to meet the naming conventions. Create new entities and attributes as necessary.

3. Draw the crow's foot ERD with the VISIO drawing tool using the results of step 2.

Part B:

Purpose:
This laboratory provides practice in the creation of realistic tables and their relationships using Oracle SQL*Plus and introduces writing SQL*Plus script files. This laboratory exercise creates a relatively simple invoice system using SQL statements. This DB schema is used throughout the next several weeks of laboratory exercises. The final product is an SQL script that makes it possible to initially create and re-create, if need be, the DB schema in order to do to the later laboratory exercises.

Procedure:

Using your assigned user name, password, and host string, log in to Oracle SQL*Plus. Record your dialog with a spool file.
Following the four requirements below, create the 5 tables shown later in this laboratory exercise, and enter all data as shown. Be sure to record your interactions with SQL*Plus using the spool command.
1. Use table names, attribute names, and data exactly as shown. The one exception is that you will omit the dollar sign and comma separators in the money amounts. Accurately enter the data as you will need these tables in future laboratory assignments.

1. Save all of your commands in a single script file for printing and submission. This file should each contain a minimum of your name and the date in comments at the beginning of the file, and any other comments you feel add to the understanding of the script file. Copy and edit your spool file to create theload_tablesXXX.sql file where XXX are your initials. The only items that should be in thisload_tablesXXX.sql file are your comments and the SQL statements that drop tables, create tables, insert data values, and display table. Be sure to remove all incorrect commands and the Oracle responses to the correct commands from the file. Save this file for the future in case you have to rebuild these tables. Be sure to include a printout of this file in your report.

1. The second submission requirement is a printout of each of the 5 tables completely loaded with the specified data. Use the SET LINESIZE command to avoid line wrap around of your table data. Print your list file in landscape mode.

1. All primary key and foreign key constraints should be named according to the method presented in the classroom. If you have any questions about which attributes are primary and/or foreign keys, please ask about them.

1. The ultimate test is the execution of this SQL script file in the following form: @ <path_name>/load_tablesXXX.sql

<First Page of tables>

REP Table

REP_ID

REP_LNAME

REP_FNAME

REP_STREET

REP_CITY

REP_STATE

REP_ZIP

REP_COMM

REP_RATE

223

Roma

Theresa

735 First

Leonard

GA

25742

$21,756.50

0.06

237

Miller

Fred

643 High

Sheldon

GA

25753

$38,612.00

0.08

268

Rodriguez

Miguel

2737 Tyler

Springfield

GA

25758

$19,774.00

0.06

 

 

 

CUSTOMER Table

CUST_ID

CUST_NAME

CUST_STREET

CUST_CITY

CUST_STATE

CUST_ZIP

CUST_BALANCE

CUST_LIMIT

REP_ID

1159

Charles Appliance and Sport

3948 Brown

Leonard

GA

25742

$5,560.00

$7,500.00

223

1193

Streaming Direct

4938 Maple

Grove

GA

25721

$210.40

$10,000.00

237

1367

Hollister's

493 Oakwood

Farmerville

GA

25546

$6896.00

$7,500.00

268

1419

Everything Sports Shop

2939 Cardinal

Crystal

GA

25503

$5,396.36

$5,000.00

237

1462

Bargain House

4930 Main

Grove

GA

25721

$4,523.00

$10,000.00

268

1524

Jackson's

946 Second

Leonard

GA

25742

$13,817.00

$15,000.00

223

1619

Murray's Department Store

483 Cambridge

Sheldon

GA

25753

$2,217.00

$10,000.00

268

1687

Lawrence Sport and Appliance

393 Jefferson

Lafayette

GA

25752

$3,962.00

$5,000.00

237

1725

Dustin's All Seasons

171 Washington

Sheldon

GA

25753

$359.00

$7,500.00

237

1842

Four Seasons Store

19 Front

Grove

GA

25721

$8,113.00

$7,500.00

223

1873

Suburban Appliance

128 High

Springfield

GA

25758

$1257.50

$5,000.00

268

PRODUCT Table

PROD_ID

PROD_DESC

PROD_QUANTITY

PROD_TYPE

PROD_WAREHOUSE

PROD_PRICE

BT105

Blender

52

HW

A

$24.95

BZ117

Exercise Bicycle

47

SG

C

$283.95

CE163

Convection Oven

28

AP

B

$186.00

DM182

Electric  Screwdriver

23

HW

A

$49.95

DS104

Electric Range

6

AP

C

$395.00

DW111

Clothes Washer

14

AP

A

$399.99

FP132

Plasma Television

15

HW

B

$999.95

KM173

 Clothes Dryer

16

AP

B

$349.95

KW114

Dishwasher

7

AP

A

$435.00

KG130

Home Workout Center

5

SG

C

$1390.00

RD147

HD Radio

7

HW

B

$280.00

INVOICE Table

INVOICE_NUM

INVOICE_DATE

CUST_ID

42419

09/10/2007

1159

42420

09/10/2007

1367

42433

09/12/2007

1419

42434

09/12/2007

1193

42447

09/13/2007

1619

42449

09/13/2007

1159

42453

09/13/2007

1619

LINE Table

INVOICE_NUM

PROD_ID

LINE_NUM_ORDERED

LINE_PRICE

42419

BT105

9

$26.35

42420

DS104

2

$495.00

42420

DW111

1

$399.99

42433

KM173

3

$379.95

42434

KW114

2

$595.00

42447

BZ117

2

$794.95

42447

CE163

3

$199.95

42449

DS104

1

$495.00

42453

KG130

3

$1,290.00

Reference no: EM131062197

Questions Cloud

Annotated outline on childhood obesity : Using the materials you have gathered thus far for your Public Health Work Plan (childhood obesity), construct an outline that contains the organization of your points of development.
Explaining the importance of this metric to staff : Is this idea appropriate? As a risk manager, how might you respond to a nurse who says, "That's not fair because some patients will never be happy"? How will you go about explaining the importance of this metric to staff
Case study of your selected woman leader : Write a 6 to 8 page (double-spaced and including footnotes; using font no smaller than 11 and no larger than 12, preferably Times New Roman or something similar; and with margins no larger than 1 inch) biography or case study of your selected woma..
Find trend to move from manual to electronic health records : Identify the trend to move from manual to electronic health records (EHR) and discuss how it has changed the delivery of health care.
Draw dependency diagram using the data in the given table : Draw the dependency diagram using the data in the table. Make sure to label the transitive and partial dependencies. Draw the crow's foot ERD with the VISIO drawing tool using the results of step 2.
Instances of strong imagery : Feature at least two instances of strong imagery. Incorporate at least three poetic devices of your choice:
Discuss each learning objectives for development : What value has the practicum project had to my professional career path? What professional relationships did I develop through working on my practicum project
Developing an effective marketing strategy : Developing an effective marketing strategy can be tough! Without one, however, a small business will be fighting for survival. Read through the following two examples - DAPAT Pharmaceuticals and Macromedia, Inc
Why are skies are blue but not green : If they were no rules in your life for a day and you could be outrageous, what would you do ? Why are skies are blue but not green?

Reviews

Write a Review

Database Management System Questions & Answers

  Part-1therearefourtraininginputtargetpairsforatwo-classprobl

part-1therearefourtraininginputtargetpairsforatwo-classproblema two-input perceptron with hard limit activation

  Create a violation of 1st normal form

Find or create an example of a violation of a normal form that you would allow, tell why you are allowing the violation and explain how you would protect against anomalies.

  Imagine that you work for a consulting firm that offers

imagine that you work for a consulting firm that offers information technology and database services. part of its core

  Implementation of virtual private databases

Prepare a 3-4 pages of technical document in MS Word Format on usage, utilization, and implementation of Virtual Private Databases (VPD) for the cases of your choice.Explain each situation in details, and describe how it works?

  What is difference between physical and logical data model

What is the difference between a conceptual, a logical, and a physical data model? Where do relationship diagrams (RDs) and entity/relationship diagrams (ERDs) fit in?

  Use sql to create database

Use SQL to create the following database; to including referential integrity. You may NOT use the GUI for this part of the exercise. COURSE ( CourseNu, CourseName, CreditHrs).

  Explain the datawarehouse and data mining concepts

There are six major types of information systems which organisations use in their operations. Discuss how these information systems support managers in their decision making role Explain the datawarehouse and data mining concepts using appropria..

  Design a database - what is the purpose of your database

Design a database, a database planner should spend a considerable amount of time thinking about what kind of information will be included in the database and how it will be organized.

  Explain data collection and management techniques

Excplain Data Collection and Management Techniques for a Qualitative Research Plan

  Find names of all students who are enrolled in two classes

Find the names of all students who are enrolled in two classes that meet at the same time. Find the names of faculty members who teach in every room in which some class is taught.

  Use of data definition language-data manipulation language

Pick one of the different types of SQL statements (data definition language, data manipulation language, or data control language). Describe how that type of statement is use.

  Data-flow diagrams can be used to the physical system

Data-flow diagrams can be used to model both the physical and logical systems. Data models can be analyzed to identify possible inconsistencies that exist between two sets of diagrams or within a single DFD.

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