Write the business rules that are reflected in the erd

Assignment Help Database Management System
Reference no: EM13861018

Problem 1: Create a Crow's Foot ERD to include the following business rules for the ProdCocompany:

a. Each sales representative writes many invoices.

b. Each invoice is written by one sales representative.

c. Each sales representative is assigned to one department.

d. Each department has many sales representatives.

e. Each customer can generate many invoices.

f. Each invoice is generated by one customer

Problem 2: Write the business rules that are reflected in the ERD shown in Figure. (Note that the ERD reflects some simplifying assumptions. For example, each book is written by only one author. Also, remember that the ERD is always read from the "1" to the "M" side, regardless of the orientation of the ERD components.)

1544_orientation of the ERD components.png

Problem 3:

The database tables

Table name: TRUCK

Primary Key:TRUCK_NUM

Foreign Key:BASE_CODE, TYPE_CODE

TRUCK_NUM BASE_CODE TYPE_CODE TRUCK_MILES TRUCK_BUY_DATE TRUCK_SERIAL_NUM
1001 501 1 32123.5 23-Sep-07 AA-322-1221-VV11
1002 502 1 76964.3 5-Feb-06 AC-342-22134-023
1003 501 2 12346.6 11-Nov-07 AC-445-78656-Z99
1004
1 2994.3 6-Jan-07 WQ-112-23144-T34
1005 503 2 45643.1 1-Mar-06 ER-998-32245-W12
1006 501 2 193245.7 15-Jul-03 AD-456-00845-R45
1007 0:00 3 32012.3 17-Oct-04 AA-341-96573-Z84
1008 502 3 44213.6 7-Aug-05 DR-559-22189-D33
1009 503 2 10932.9 12-Feb-08 DC-007-98456-E94

Table name: BASE

Primary Key:BASE_CODE

Foreign Key:none

BASE_CODE BASE_CITY BASE_STATE BASE_AREA_CODE BASE_PHONE BASE_MANAGER
501 MARTEESTORG TN 615 123-4567 Andera D. oallager
502 LEXINGTON KY 568 234-5678 George M. delarosa
503 CAPE GRIADEACA MO 456 345-6789 Maria J.Talndo
504 DALTON GA 901 456-7890 Peter F.MaAvee

Table name: TYPE

Primary Key:TYPE_CODE

Foreign Key:none

TYPE_CODE TYPE_DESCRIPTION
1 Single box, double-side
2 Single box, Single-side
3 Tanderht trailer, Single-side

Use the clatabase shown in above to answer given problems

1: For each table, indentify the primary key and the foreign key(s). If a table does not have a foreign key. write None

2: Do the tables exhibit entity Integrity? Answer yes or no. and then explain your answer.

3: Do the table exhibit referential Integrity? Answer yes a no. and then explain your answer, Write NA (Not Applicable) if the table does not have a foreign key.

4: Identify the TRUCK table's candidate key(s).

5: Foe each table identify a superkey and a secondary key.

6: Create the ERD for this database.

Reference no: EM13861018

Questions Cloud

Who are the stakeholders involved : Discuss your reactions to how the problem presented was handled. How you would have handled this situation? Who are the stakeholders involved? What would be your reaction to how your fellow classmates would handle this same matter
Is the airline industry monopolistic : Given the recent events in the US Airways and American Airlines merger, one has to wonder, is the airline industry monopolistic? Which is worse, monopolies or competition?
Describe competitive environment in which the firm operates : Describe the competitive environment in which the firm operates
How many pump stations would be needed for pipeline : A 200mm DN pipeline has to deliver 80ml/h of water at a discharge pressure of 5,550kPa. Approximately how many pump stations would be needed for a pipeline 300km long?
Write the business rules that are reflected in the erd : Create a Crow's Foot ERD to include the following business rules for the ProdCocompany and Do the table exhibit referential Integrity?
What makes a monopolistically competitive firm different : What makes a monopolistically competitive firm different than a monopolist?
How do i control urlconnection uses the post or get method : What is a port? How do I control whether URLConnection uses the POST or GET method when sending data to an HTTP server?
Indicate the crucial factors that could cause rightward : Compute the elasticities for each independent variable
Comprehensive problem-differential apportionment : Mortar Corporation acquired 80 percent ownership of Granite Company on January 1, 20X7, for $173,000.  At that date, the fair value of the noncontrolling interest was $43,250.

Reviews

Write a Review

Database Management System Questions & Answers

  Write a two to three 2-3 page paper in which yourecommend

write a two to three 2-3 page paper in which yourecommend at least three 3 specific tasks that could be performed to

  What is the most common disease for each age group

Explore a possible relationship between the DRG_PRICE and the TOTAL_CHARGES. Is there a linear relationship between these two properties?

  Create a query using the simple query wizard

Start Access. Open the downloaded Access file named exploring_a02_grader_h1. Create a new table in Datasheet view using the name Donations. Switch to Design View and change ID to DonationID. Add the following field names to the table: DonorID, Plan..

  Planning the implementation of a database application

Discuss the importance of planning the implementation of a database application. What are some of the pitfalls of not planning for the implementation of a database application

  How many of the artist works have been sold

List the names of the deceased artists and the number of years of age they were when they died (for example, an artist born in 1950 and deceased in 2001 has an age of 51).

  Taskcreate a database design specification enhanced entity

taskcreate a database design specification enhanced entity relationship diagram eerd and relational data model rdm from

  Create a mysql database

Create a Database and modify your script to reference your Database. Download the tutorial Creating a Database in MySQL Omnymbus Environment from the folder in Doc-Sharing titled Omnymbus Tutorial Files. Follow the steps to create a database in MyS..

  Measurement of two lengths in feet and inches

"create a form with textboxes to enter the measurement of two lengths in feet and inches as integer values and compute the total length in feet and inches. For example, the total length of 5 feet 8 inches and 4 feet 6 inches is 10 feet 2 inches; a..

  Aspect of database or enterprise systems

Find one or more current articles (last six months) describing on aspect of database or enterprise systems. Summarize the article(s) and provide your own perspective, and then browse through the other student posts to learn about other related tec..

  Write names and e-mail addresses from database

Suppose a database has tables given below. Write the names and e-mail addresses for all customers who have had stove repair which cost more than $50.

  Describe how the data and information are stored and used

weekly assignment analysis and research for a data warehouse systembased on knowledge and examination you will analyze

  Write an sql script

FOR QUESTIONS 1-10: Given the following table named DEPT, Write an SQL script for the following returned data

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