Com Project
Com Project
your domain must not be the same as those we use as examples in class
– speci cally the university (from the Database Systems Concepts book)
and the library (from lectures) domains. See the “Choosing an Appropriate
3. Map the E-R diagram into a normalized relational database design for the
attributes, a primary key, and relevant constraints and foreign keys. Your
3.Populate the database with sample data to test the schema and the
5.Test your SQL statements and constraints using your sample data. The
tests should handle the “good” data and accurately identify various kinds of
Milestone
milestone, you have the opportunity to alter your approach and design for the rest of
the project as required based on the feedback you get. In that case, you do not need
to redo the previous milestone(s) unless you change your entire project domain.
Once you met the nal milestone, the project will be graded considering all three
milestones collectively, but with particular emphasis given to the third one
On the due date of each milestone, you are required to present your work orally to
your classmates. For the rst milestone, we will be discussing the next part of the
project - e.g., what might be appropriate entities and relationships for modeling your
fi
s
fi
fi
fi
.
domain. We may also have a similar but briefer class discussion when second
• An E-R diagram for the proposed database, including attributes for entities and
relationships
Test
schema
o Prepare a schema diagram for your database, with primary and foreign keys
speci ed appropriately
your database
s
fi
.
fi
.
fi
n
o Documentation of testin
o You must test each of your SQL statements. Testing should be related
are many)
• You must test all the constraints, af rm that they correctly detect errors whil
• allowing legitimate data. (Note: you do not need to test NOT NULL
constraints.
• You must have a le/ les containing the results of these tests. Make
the expected result. (i.e. good data or a speci c problem you are catching with
incorrect data)
tables
3. Your schema should include attributes that make it possible to have some
fi
.
fi
)
fi
)
fi
g
fi
fi
.
fi
fi
.
the total number of courses being taught by each instructor, etc.). Your
Note: Keep the requirements of all milestones in mind when selecting your mini-
world. You want a domain that will lend itself to interesting requirements and tests, as