Project 2. Student-Classes database.

Assignment

Part I

  1. Design a Entity-Relationship model corresponding the requirements above
  2. Write relations corresponding the E-R model and all functional dependencies that reflect all relashionship specified in the description
  3. Normalize all the relations. Show all your work brigning the relations into Boyce-Codd Normal form. Each time you working on decomposing a relation into the N-th normal form write the definition of the form and the functional dependencies that violates that form.
  4. Database design should be visualised with MS Visio and submitted by email.
Due date:TBA

Part II

  1. Create Oracle tables corresponding your final relations.
  2. While creating make sure your tables sutisfy as many reqyurements as possible.
  3. Please make each ID field in the table of char(..) type.
  4. Specify all primary keys and foreign keys. While creating foreign keys do not forget to specify on delete constraint.
  5. For each ID field create a separate sequence. Plase clearly state in comments for each table (I mean Oracle comments created with comment command) the format of the ID field. Also make sure that your sequence corresponds to the format. For example: if I state that mu SID field for Student table has format CCdddddd, where C stays for a capital character and d stays for a digit, then my sequence should return six-digit numbers only.
  6. All your commands need to be stored in the project1.sql file stored in oracle subdirectory of your home directory.
  7. Insert sample data into the tables. You can use real IST courses and professor names. Use you school mate names for students.
Due date:TBA