produce a list of relations indicating the primary key, columns and foreign keys.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

 produce a list of relations indicating the primary key, columns and foreign keys.  

Consider the following attributes for tables in a relational model 
designed to keep track of information for a moving company that 
moves residential customers, usually from one home or apartment 
to another:
customerID, customerName, customerCurrentAddress, 
customerCurrentPhone, customerNewAddress, customerNewPhone, 
pickupLocation, dropOffLocation, dateOfMove, startingTime, 
estimatedWeight, estimatedCost, truck#Assigned, driverName, 
driverLicNo, actualCost, amountOfDamages, truckCapacity, 
costOfTolls, tax, finalAmount, invoiceNumber, amountPaid, 
datePaid, checkNumber, amountDue
Assume:
- Although in most cases the pickupLocation is the customer’s old 
address and the dropOffLocation is the new address, there are 
exceptions, such as when furniture is moved to or from storage.
-An estimate is provided before the move using a pre-printed invoice 
containing a unique invoice number. The actual cost is recorded 
on the same form once the move is complete. The actual cost may 
differ from the estimated cost. The final amount includes the actual 
cost of the move, plus tax and tolls.
- In most cases, the customer pays the final amount immediately, 
but sometimes he or she pays only part of the bill, especially if the 
amount of damages is high. In those cases, there is an amount due, 
which is the difference between the final amount and the amount 
paid

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Procedures in SQL
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education