TEC 5323 Advanced Database Technology
Project 5 Create Database Tables
Background: |
A sales order database needs the following two tables. CUSTOMER: used to record all customer contact information.
CUST_ORDER: used to enter customers' order information (not order details).
Please note that CUST_ID in CUST_ORDER table correspond to CUST_ID in CUSTOMER table. In other words, customer information needs to exist before customer can take an order. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Tasks: |
You will create a SQL script (10 points off if not in one file) in order to accomplish the following tasks.
Tip: While the details on data type are not within the scope of this course, please use some common sense when you define the data type. For instances, CUST_ID field will be large enough to accommodate future growth of your organization. ZIP, D_Phone and E_Phone should be defined as VARCHAR2 instead of Number since those data will not be involved in any future computations and they will not be truncated (i.e. if ZIP code is 00212).
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Report: |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Due: |
|
School of Technology
College of Business & Applied Sciences
Eastern Illinois University