Ask DBMS Expert


Home >> DBMS

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.

DBMS, Programming

  • Category:- DBMS
  • Reference No.:- M91521776
  • Price:- $50

Priced at Now at $50, Verified Solution

Have any Question?


Related Questions in DBMS

Data mining assignment -in this assignment you are asked to

Data Mining Assignment - In this assignment you are asked to explore the use of neural networks for classification and numeric prediction. You are also asked to carry out a data mining investigation on a real-world data ...

Sql query assignment -for this assignment you are to write

SQL Query Assignment - For this assignment you are to write your answers in a word document. This assignment is in three parts: Part A (reporting queries), Part B (query performance), Part C (query design). For this assi ...

The groceries datasetimagine 10000 receipts sitting on your

The groceries Dataset Imagine 10000 receipts sitting on your table. Each receipt represents a transaction with items that were purchased. The receipt is a representation of stuff that went into a customer's basket. That ...

You are in a real estate business renting apartments to

You are in a real estate business renting apartments to customers. Your job is to define an appropriate schema using SQL DDL in MySQL. The relations are Property(Id, Address, NumberOfUnits), Unit(ApartmentNumber, Propert ...

Objectivethe objective of this lab is to be familiar with a

OBJECTIVE: The objective of this lab is to be familiar with a process in big data modeling. You're required to produce three big data models using the MS PowerPoint software. This tool is available on UMUC Virtual Deskto ...

The relation memberstudentid organizationid roleid stores

The relation Member(StudentId, OrganizationId, RoleId) stores the membership information of student joining organization. For example, ('S1', 'O2', 'R3') indicates that student with Id 'S1' joined the organization with i ...

Relational database exerciseyou have been assigned to a new

Relational Database Exercise: You have been assigned to a new development team. A client is requesting a relational database system to manage their present store with the anticipation of adding more stores in the future. ...

Relational database design a given the following business

Relational Database Design A) Given the following business rules, identify entity types, attributes (at least two attributes for each entity, including the primary key) and relationships, and then draw an Entity-Relation ...

We can represent a data set as a collection of object nodes

We can represent a data set as a collection of object nodes and a collection of attribute nodes, where there is a link between each object and each attribute, and where the weight of that link is the value of the object ...

Data model development and implementationpurpose of the

Data model development and implementation Purpose of the assessment (with ULO Mapping) The purpose of this assignment is to develop data models and map Database System into a standard development environment to gain unde ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As