Assignment
Overview
Topic: Implementing Your Database on Oracle
Related Reading: Ch. 3
Due: 12:45pm Thursday, 16 October 2003
In this assignment, you are to revisit the
ER Model that you designed in an earlier
assignment.
Your goals for this assignment are to:
- Modify your ER diagram based on the feedback you received on the
earlier assignment.
- Design and build your database as a set of tables in the
Oracle system, as well as
populating your tables with data.
You (or your group) must hand in printed copies of the following:
- The graded copy of your original ER assignment (for reference)
- A new copy of the (modified) ER diagram which you use as a model
for this assignment.
- printout of file tables.sql described below.
- printout of file values.sql described below.
- printout of file queries.sql described below.
- printout of file results described below.
The .sql files should be ones which can be sourced directly
on the Oracle system. Here are specific requirements for each part:
tables.sql
This file should be a script which creates all of your tables.
Tables should have:
- Primary keys
- appropriate Foreign keys
- appropriate null constraints
- appropriate check constraints
- some default values
values.sql
This file should be a script which populates all of your tables with
data (whether real or artificial), which clearly illustrates
the design of the database.
queries.sql
This file should be a script which demonstrates meaningful queries
(including joins), demonstrating that the data you entered makes sense
and illustrating the relationships between tables. Some group by and
sorts would also be interesting.
results
Save here some representation (e.g., text, html) displaying the
results when executing queries.sql on your database.