0% found this document useful (0 votes)
30 views1 page

Database Tables Indicate TH: - e Keys Explain

This document outlines homework assignments involving designing a database for tracking product orders. The first part asks to design tables for customers, orders, order line items, and products with primary and foreign keys. The second part adds shippers and employees tables and asks to integrate them into the original design, with explanations for design decisions.

Uploaded by

V Yaswanth Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views1 page

Database Tables Indicate TH: - e Keys Explain

This document outlines homework assignments involving designing a database for tracking product orders. The first part asks to design tables for customers, orders, order line items, and products with primary and foreign keys. The second part adds shippers and employees tables and asks to integrate them into the original design, with explanations for design decisions.

Uploaded by

V Yaswanth Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

HW #3

1. Design a database diagram for a product orders database with four tables.
Indicate the relationships between tables and identify the primary key and
foreign keys in each table. Explain your design decisions.

Customers

CustomeriD
CustomerName
CustomerAddress
CustomerPhone
Orders

OrderiD
CustomeriD
OrderDate
ShipAddress
ShipDate
Orderlineltems

OrderiD
OrderSequence
ProductiD
Quantity
UnitPrice


Products

ProductiD
ProductName
QtyPerUnit
UnitPrice
InStock
OnOrder


2. Add the two tables below into the design for exercise 1. Create additional
tables and columns, if necessary. Explain your design decisions.

Shippers

ShipperiD
ShipperName
ShipperAddress
ShipperPhone
Employees

EmployeeiD
FirstName
LastName
SSN
HireDate

You might also like