Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

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

Questionsuppose a prolog database exists that gives

Question: Suppose a Prolog database exists that gives information about states and capital cities. Some cities are big, others small. Some states are eastern, others are western. a. Write a query to find all the small ca ...

In this section the student is required to develop a

In this section, the student is required to develop a technical debate based on his/her understanding using available scientific literature. The answer to this question should not exceed three A4 Pages. In the traditiona ...

Question as explained throughout this course entity

Question: As explained throughout this course, entity relationship modeling is a critical element of database design. If the database is not properly modeled, it is unlikely that the database will be properly developed. ...

Your taskyou have been commissioned to develop a database

Your task You have been commissioned to develop a database system that is capable of keeping records for FU's table tennis matches from now on. The database needs to keep a record of: - All team information, including pl ...

Query 1 the bookstore has decided to keep track of the

Query 1: The bookstore has decided to keep track of the vendors' information. In order to do this, one new table will be added to the database. The schema for this table, as related to the existing tables, is the followi ...

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 ...

Tableau is business intelligence software that helps people

Tableau is business intelligence software that helps people see and understand their data. Fast Analytics Connect and visualize your data in minutes. Tableau is 10 to 100x faster than existing solutions. Ease of Use Anyo ...

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 ...

Sql assignmentin these exercises youll enter and run your

SQL Assignment In these exercises, you'll enter and run your own SELECT statements. You will use the MyGuitarShop database for these queries. If you do not already have the MyGuitarShop database, the SQL script and the i ...

Assignment task -write and run sql statements to complete

Assignment Task - Write and run SQL statements to complete the following tasks Part A - DML 1. Show the details of the products where the product code starts with '22'. 2. Display the vendor details from areacode 615. 3. ...

  • 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