Write set of relational schemas-identify primary-foreign key

Assignment Help Database Management System
Reference no: EM1367131

We want to construct a database for a world-wide package delivery company (e.g., DHL). The database must be able to keep track of customers who ship items and customers who receive items (some customers may do both). For each customer, the database needs

to store the customer ID, name and address. Each package must be trackable, so the database must
store the locations through which the package has gone. For each location, the database needs to
store the location ID, the city name and the country name. For each package, the database must
store the package ID and the weight.

(a) Draw an E-R diagram that reflects the above reuirements.

(b) Define a set of relational schemas and identify primary and foreign keys. Try not to include redundant schemas.

Reference no: EM1367131

Questions Cloud

Valuation of call option : A European Call Option on a non dividend paying stock where stock value is $40, the strike price is $40, the risk-free rate is 4 percent per annum, the volatility is 30 percent per annum,
Determining equilibrium prices and quantity : Lawn mowing services are supplied by host of individuals in suburb of Westbrook. Demand and supply conditions in the perfectly competitive domestic for lawn mowing services are:
Revenue maximizing : Assume your elasticity of demand for your parking lot spaces is -.05, and price is $20/day. If your MC is zero, and your capacity at 9 a.m. is 96% full over the last month, are you optimizing?
What is the final translational rms speed of molecules : A snowball rolls off a barn roof that slopes downward at the angle of 40 ^circ. The edge of the roof is 14.0 {rm m} above the ground, and the snowball has a speed of 7.00 {rm m/s} as it rolls off the roof. Ignore air resistance.
Write set of relational schemas-identify primary-foreign key : Sketch an E-R diagram which reflects the above reuirements. Write a set of relational schemas and identify primary and foreign keys. Try not to include redundant schemas.
Buying imports versus buying domestic products : Determine the advantages or disadvantages of buying imports versus buying domestic products in relation to fashion industry.
Jcaho requirements for documenting : You frequently hear references to JCAHO requirements for documenting a patient's pain assessment and treatment, documenting medication administration, or documenting verbal telephone orders.
Calculate the forward discount : Calculate the forward discount or Premium for the Mexican peso whose 90-day forward rate is $.102 and spot rate is $.10. State whether your answer is a discount or premium.
Provide an expression in relational algebra : Provide expression in relational algebra for each of the following queries: Give all the managers in database a 10 percent salary raise. Give all the other employees a 5 percent salary raise.

Reviews

Write a Review

Database Management System Questions & Answers

  Write name of employee on every project located in houston

Write the name(s) of employee(s) who works(work) on every project located in Houston. Write the name(s) of employee(s) who only works(work) on every project located in 'Houston.'

  Find bcnf decomposition of relation schema

Consider a relation schema r(A,B,C,D,E, F) and a set of functional dependencies {A BCD,BCDE,BD,DA}.  Determine whether or not (A,E, F) is in BCNF and justify your answer. If (A,E, F) is not in BCNF,find a BCNF decomposition of it.

  Produce different final database state than using trigger

Assume that relation Employee has no tuples in it initially. You are to show the simplest example you can think of where using trigger T1 will produce a different final database state than using trigger T2.

  Explain the problems associated with data redundancy

Assignment 5: Logical Design, Part II, Explain the problems associated with data redundancy as it pertains to effectively using information for reporting and analysis.

  Evaluate the functional dependencies

What are the functional dependencies among the data represented in this first normal form relation?

  Create entity-relationship diagram for bookstore database

Create Entity-Relationship diagram for a bookstore database, that maintains information about books, professional journals, their authors, and publishers.

  Create a function

Create a function that returns the day of the week for a specified date. Create a trigger that displays the message "Emp table updated" when an update to the employee table increases the employee's basic salary.

  Explaining unclustered b pus tree index

Suppose you have a table which contains 27,000 data records, and you have unclustered B+ Tree Index on the table.

  Translation from erd to the relational model

Complete (i.e., reverse engineering) ER diagram below such that 4 relation schemas above are exactly result of a translation from the ERD to the relational model.

  Importance have button that takes you back to main page

What is the importance to have a button that takes you back to the main page on each web page? How does dead end or orphan pages affect the continuity of a website?

  Compare two non-sequential file structure models

Compare the two non-sequential file structure models. What advantages does the first one have over the second and what advantages does the second have over the first?

  Explaining content of document in natural language

Explain the content of this document in natural language;Design the graph representation of document;

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