Start by implementing a relational schema for the Centrepointe database discussed in the previous unit.
Implement the ERD shown here as an Oracle database. Start with the sample code in lab03.sql
(on the class repo) and add schema elements to that code for the entities and relationships
shown here.
Be sure to set the constraints appropriately and to include primary and foreign key
constraints as appropriate. Make your edits directly to lab03.sql
.
Now, add additional elements to the Centrepointe ERD model and the relational implementation.
Upgrade your model and implementation to include schema elements representing teams and homegroups as described in class exercises 2.3.a–b.
lab03.ext
.
lab03.sql
.
Be sure to include all appropriate elements in both your ERD model and your relational implementation.
For the homework, add a weak entity to the implementation.
Upgrade your implementation to include schema elements for the “request” entity discussed in class exercise 2.3.c, as modeled here.
If you haven’t already done so, add sample records for all the new tables.
Save your updates in lab03.sql
.
It would be wise to run a few queries to convince yourself that your schema and data are configured properly.
Hand-drawn images should be scanned and submitted with the other files. We will grade your work according to the following criteria: