Course list http://www.c-jump.com/bcc/

From Database Design to Database Implementation


  1. First steps to build the College Database
  2. Creating Tables
  3. CREATE TABLE Student
  4. Choosing Datatypes
  5. Microsoft Access Datatypes
  6. Categories of Datatypes
  7. NULL and NOT NULL
  8. CREATE TABLE Schedule
  9. Advanced: Date/Time Functions
  10. Planning for Primary Key/Foreign Key Relations
  11. CREATE TABLE Department, Instructor
  12. DROP TABLE Department, Instructor
  13. INSERT INTO Department, Instructor
  14. UPDATE Department
  15. CREATE TABLE Course
  16. CREATE TABLE Section
  17. CREATE TABLE Enrollment
  18. Comparison: Flat versus Relational Data
  19. Summary: Relational Databases
  20. SQL: Querying Relational Database

First steps to build the College Database



Creating Tables



CREATE TABLE Student



Choosing Datatypes



Microsoft Access Datatypes



Categories of Datatypes



NULL and NOT NULL



CREATE TABLE Schedule



Advanced: Date/Time Functions



Planning for Primary Key/Foreign Key Relations


  • Primary Key
    Table.Column
    
  • Foreign Key
    Table.Column
    
  • Department.ID
    Instructor.ID
    
    Instructor.ID  
    Schedule.ID    
    Course.ID      
    
    Section.ID     
    Student.ID     
    
  • Instructor.DepartmentID
    Department.ChairID (can be NULL)
    
    Section.InstructorID (can be NULL)     
    Section.ScheduleID (can be NULL)
    Section.CourseID
    
    Enrollment.SectionID
    Enrollment.StudentID
    

CREATE TABLE Department, Instructor



DROP TABLE Department, Instructor



INSERT INTO Department, Instructor



UPDATE Department



CREATE TABLE Course



CREATE TABLE Section



CREATE TABLE Enrollment



Comparison: Flat versus Relational Data



Summary: Relational Databases



SQL: Querying Relational Database