CS 366: Database Modeling, Design and Implementation
Winter 2008

Instructor: Alexander Dekhtyar, dekhtyar@csc.calpoly.edu, 14-215

Office Hours:
When
Who Where
Monday Alex 14-209
Tuesday 3:00pm - 4:00pm Alex 14-215 and/or 14-302
Wednsday 9:00am - 12:00pm Alex 14-215
Thursday 3:00pm - 4:00pm Alex 14-215 and/or 14-302

Additional appoinments: send email.


News and Notes

Old News and Notes

Course Materials

Syllabus Postscript PDF
Groups HTML
Wiki HTML
PhotographsJanuary 10 (HTML)
Demo ScheduleHTML
Project Implementation Instructions Postscript PDF

Labs

Lab 1, Part 1 Due: January 8 : SQL test Postscript PDF [January 8, 2008]
Lab 1, Part 2 Due: January 10 Groups Postscript PDF [January 11, 2008]
Lab 2 Due: January 22 Requirements elicitation, database design Postscript PDF [January 14, 2008]
Lab 3 Due: January 29 31 Database redesign, wiki, logical design Postscript PDF [January 24, 2008]
Lab 4 Due: February 21 Software design, database creation, queries Postscript PDF [February 4, 2008]
Lab 5 Due: March 4 Data Access Postscript PDF [March 4, 2008]
Lab 6 Due: March 10 Object-Relational Database Model Postscript PDF [March 4, 2008]
Lab 6 Due: March 13 (by class time) Semistructured Data Model, XML Postscript PDF [March 11, 2008]

Lab Data
Lab 2 Customer Narrative(by Stephanie Yarbro and Mark Edwards) MS Word [January 15, 2008]
Lab 2 Additional Customer Narrative(by Mark Edwards) MS Word [January 15, 2008]
Lab 4 Software Specification (draft)(by Mark Edwards) MS Word
Lab 4 Final Software Specification(by Mark Edwards) MS Word [February 4, 2008]
Lab 4 Some Data(by Mark Edwards) Excel [January 31, 2008]
Lab 4 Use Case 1: Add Taxonomy Item MS Word [February 18, 2008]
Lab 4 Use Case 2: Add Specimen MS Word [February 18, 2008]
Lab 4 Use Case 3: Add Location MS Word [February 18, 2008]
Lab 4 Use Case 4: Assign diet to animal MS Word [February 25, 2008]
Lab 4 Use Case 5: Add/Edit Ingredient MS Word [February 25, 2008]
Lab 4 Use Case 6: Add stock to inventory MS Word [February 25, 2008]
Lab 4 Use Case 7: Remove stock from inventory MS Word [February 25, 2008]
Lab 4 Use Case 8: Edit Specimen MS Word [February 25, 2008]
Lab 4 Use Case 9: Archive Specimen MS Word [February 25, 2008]
Lab 4 Use Case 10: Create new diet MS Word [February 25, 2008]
Lab 6 Combined presentation Powerpoint [March 11, 2008]

NUTRITION dataset v 1.1
README
taxon.csv
animals.csv [deprecated]
animals-g.csv
genders.csv
locations.csv
location_assgnment.csv
ingredient_categories.csv
ingredients.csv
diets.csv
diet_assignments.csv
inventory.csv
withdrawls.csv
users.csv
NUTRITION.zip
[February 27, 2008]
NUTRITION dataset v. 1.0
README
taxon.csv
animals.csv
locations.csv
location_assgnment.csv
ingredient_categories.csv
ingredients.csv
diets.csv
diet_assignments.csv
inventory.csv
withdrawls.csv
users.csv
NUTRITION.zip
[February 27, 2008]

Lab Tests
Lab 1 SQL test script [January 8, 2008]
Lab 1 Lab 1 solutions [January 22, 2008]

JDBCTest.java
classes12.jar (JDBC driver)

Course Datasets

BAKERY Dataset
README
customers.csv
goods.csv
items.csv
reciepts.csv



BAKERY.zip
BAKERY-insert.sql
[October 1, 2007]

Homeworks

Homework 1 Due: January 29, 2008 Postscript PDF
Homework 2 Due: February 7, 2008 Postscript PDF
Homework 3 Due: February 14, 2008 Postscript PDF

Lecture Notes

Lecture 1 Database Design: Overview Postscript PDF [December 11, 2007]
Lecture 2 Entity-Relationship Model Postscript PDF [January 15, 2008]
Lecture 3 Entity-Relationship Model Postscript PDF [January 17, 2008]
Lecture 4 E-R Model --> Relational Model Postscript PDF [January 24, 2008]
Lecture 5 E-R Model --> Relational Model (examples) Postscript PDF [January 24, 2008]
Lecture 6 Functional Dependencies Postscript PDF [January 29, 2008]
Lecture 7 Functional Dependencies (examples) Postscript PDF [January 29, 2008]
Lecture 8 Normal Forms Postscript PDF [January 31, 2008]
Lecture 9 Normal Forms: Examples Postscript PDF [February 6, 2008]
Lecture 10 Normal Forms: Decomposition Postscript PDF [February 12, 2008]
Lecture 11 Normal Forms: Decomposition Examples Postscript PDF [February 12, 2008]
Lecture 12 Database Security: Data Access Control Postscript PDF [February 28, 2008]
Lecture 13 ODL and Object-Relational SQL Postscript PDF [March 4, 2008]
Lecture 14 XML In a Nutshell Postscript PDF [March 11, 2008]
Lecture 15 DTDs Postscript PDF [March 11, 2008]
Lecture 16 XPath Postscript PDF [March 11, 2008]


Other Materials

SQL-92

Oracle

General Database Resources


August 28, 2007, dekhtyar at csc.calpoly.edu