APPENDIX D

STUDENT DATABASE SCHEMA
GRADE_CONVERSION
LETTER_GRADE (PK) GRADE_POINT MAX_GRADE MIN_GRADE CREATED_BY CREATED_DATE MODIFIED_BY MODIFIED_DATE VARCHAR2(2) NUMBER(3,2) NUMBER(3,0) NUMBER(3,0) VARCHAR2(30) DATE VARCHAR2(30) DATE NOT NULL NOT NULL NOT NULL NOT NULL NOT NULL NOT NULL NOT NULL NOT NULL

GRADE_TYPE
GRADE_TYPE_CODE (PK) DESCRIPTION CREATED_BY CREATED_DATE MODIFIED_BY MODIFIED_DATE CHAR(2) VARCHAR2(50) VARCHAR2(30) DATE VARCHAR2(30) DATE NOT NULL NOT NULL NOT NULL NOT NULL NOT NULL NOT NULL

GRTW_GRTYP_FK

GRADE
STUDENT_ID (PK)(FK) SECTION_ID (PK)(FK) GRADE_TYPE_CODE (PK)(FK) GRADE_CODE_OCCURRENCE (PK) NUMERIC_GRADE COMMENTS CREATED_BY CREATED_DATE MODIFIED_BY MODIFIED_DATE NUMBER(8,0) NUMBER(8,0) CHAR(2) NUMBER(38,0) NUMBER(3,0) VARCHAR2(2000) VARCHAR2(30) DATE VARCHAR2(30) DATE NOT NULL NOT NULL NOT NULL NOT NULL NOT NULL NULL NOT NULL NOT NULL NOT NULL NOT NULL

GRADE_TYPE_WEIGHT
GR_GRTW_FK SECTION_ID (PK)(FK) GRADE_TYPE_CODE (PK)(FK) NUMBER_PER_SECTION PERCENT_OF_FINAL_GRADE DROP_LOWEST CREATED_BY CREATED_DATE MODIFIED_BY MODIFIED_DATE NUMBER(8,0) CHAR(2) NUMBER(3,0) NUMBER(3,0) CHAR(1) VARCHAR2(30) DATE VARCHAR2(30) DATE NOT NULL NOT NULL NOT NULL NOT NULL NOT NULL NOT NULL NOT NULL NOT NULL NOT NULL

GRTW_SECT_FK GR_ENR_FK

ENROLLMENT
STUDENT_ID (PK)(FK) SECTION_ID (PK)(FK) ENROLL_DATE FINAL_GRADE CREATED_BY CREATED_DATE MODIFIED_BY MODIFIED_DATE NUMBER(8,0) NUMBER(8,0) DATE NUMBER(3,0) VARCHAR2(30) DATE VARCHAR2(30) DATE NOT NULL NOT NULL NOT NULL NULL NOT NULL NOT NULL NOT NULL NOT NULL

SECTION
SECTION_ID (PK) COURSE_NO (FK) SECTION_NO START_DATE_TIME LOCATION INSTRUCTOR_ID (FK) CAPACITY CREATED_BY CREATED_DATE MODIFIED_BY MODIFIED_DATE NUMBER(8,0) NUMBER(8,0) NUMBER(3,0) DATE VARCHAR2(50) NUMBER(8,0) NUMBER(3,0) VARCHAR2(30) DATE VARCHAR2(30) DATE NOT NULL NOT NULL NOT NULL NULL NULL NOT NULL NULL NOT NULL NOT NULL NOT NULL NOT NULL

ENR_SECT_FK

SECT_CRSE_FK SECT_INST_FK

COURSE
COURSE_NO (PK) DESCRIPTION COST PREREQUISITE (FK) CREATED_BY CREATED_DATE MODIFIED_BY MODIFIED_DATE NUMBER(8,0) VARCHAR2(50) NUMBER(9,2) NUMBER(8,0) VARCHAR2(30) DATE VARCHAR2(30) DATE NOT NULL NOT NULL NULL NULL NOT NULL NOT NULL NOT NULL NOT NULL

INSTRUCTOR
INSTRUCTOR_ID (PK) SALUTATION FIRST_NAME LAST_NAME STREET_ADDRESS ZIP (FK) PHONE CREATED_BY CREATED_DATE MODIFIED_BY MODIFIED_DATE NUMBER(8,0) VARCHAR2(5) VARCHAR2(25) VARCHAR2(25) VARCHAR2(50) VARCHAR2(5) VARCHAR2(15) VARCHAR2(30) DATE VARCHAR2(30) DATE NOT NULL NULL NULL NULL NULL NULL NULL NOT NULL NOT NULL NOT NULL NOT NULL

ENR_STU_FK

CRSE_CRSE_FK

STUDENT
STUDENT_ID (PK) NUMBER(8,0) SALUTATION VARCHAR2(5) FIRST_NAME VARCHAR2(25) LAST_NAME VARCHAR2(25) STREET_ADDRESS VARCHAR2(50) ZIP (FK) VARCHAR2(5) PHONE VARCHAR2(15) EMPLOYER VARCHAR2(50) REGISTRATION_DATE DATE CREATED_BY VARCHAR2(30) CREATED_DATE DATE MODIFIED_BY VARCHAR2(30) MODIFIED_DATE DATE NOT NULL NULL NULL NOT NULL NULL NOT NULL NULL NULL NOT NULL NOT NULL NOT NULL NOT NULL NOT NULL

INST_ZIP_FK

ZIPCODE
STU_ZIP_FK ZIP (PK) VARCHAR2(5) CITY VARCHAR2(25) STATE VARCHAR2(2) CREATED_BY VARCHAR2(30) CREATED_DATE DATE MODIFIED_BY VARCHAR2(30) MODIFIED_DATE DATE NOT NULL NULL NULL NOT NULL NOT NULL NOT NULL NOT NULL