Dictionary
CAMPUS
N/S Column Description Data type size key constrains Referential
Name lntegrity
1 CName Is the name of the campus varchar 50 pk Not null
2 CDistance Is the distance of the varchar 8 Not null
campus from the city
center
3 CAddress Is the address of the varchar 50
campus
4 BusNo Is the bus from the city varchar 7 Not null
center to campus
FACULTY
N/S Column Description Data type size key constrains Referential
Name lntegrity
1 FName Is the name of the faculty varchar 50 pk Not null
2 DeanName Is the name of the dean varchar 30 Not null
of students
3 FBuilding Is the faculty building varchar 20
SCHOOL
N/S Column Description Data type size key constrains Referential
Name lntegrity
1 Sname Is the name of the school varchar 50 pk Not null
2 Sbuilding Is the school building varchar 10 Not null
3 Cname Is the name of the campus varchar 50 FK Not null CAMPUS
4 Fname Is the name of the faculty varchar 50 FK Not null FACULTY
PROGRAM
N/ Column Name Description Data type size key constrains Referential
S lntegrity
1 Pcode Is the code of the varchar 8 pk Not null
program
2 Ptitle Is the title of the varchar 100 Not null
program
3 Plevel Is the level of varchar 50 Not null
education in university
4 Pduration Year taken by the varchar 1 Not null
program
5 Sname Is the name of the varchar 50 FK Not null SCHOOL
school
STUDENT
N/S Column Description Data size key constrains Referential
Name type lntegrity
1 StID This represents varchar 20 PK NOT NLL
student
identification
card
2 StName This is the name varchar 50 NOT NULL
of a student
3 StBuildings This are the varchar 8 NOT NULL
student hostels
4 Year enroll Registration year int NOT NULL
5 Pcode Is the code of varchar 8 FK Not null PROGRAM
the program
COURSE
S/N COLUMN DESCRIPTION DATA SIZE KEY CONSTRAINT REFERENCING
NAME TYPE S
1 Ccode This is the Varchar 10 PK NOT NULL
code of the
course
2 CTitle This is the Char 50 NOT NULL
title of the
course
3 Pcode Is the code of varchar 8 FK Not null PROGRAM
the program
COURSE_STUDENT
N/S Column Description Data type size key constrains Referential
Name lntegrity
1 Ccode This is the code of the Varchar 10 PK & FK Not null COURSE
course
2 StID This represents student varchar 20 PK Not null STUDENT
identification card
3 Staken Semester taken by the Varchar 20 Not null
student
4 Gawarded The Grade awarded to Varchar 10 Not null
the student
CLUB
N/S Column Description Data type size key constrain Referential
Name s lntegrity
1 ClName The name of the club Varchar 15 PK Not null
2 Clbuilding The building in which the Varchar 10 Not null
club is located
3 Clphone The phone Number of int 13
the club
5 CName Is the name of the varchar 50 FK Not null CAMPUS
campus
SPOTS
N/S Column Name Description Data type size key constrain Referential
s lntegrity
1 SpName The name of the sport Varchar 20 PK Not null
2 ClName The name of the club Varchar 15 FK Club
PREREQUISITE
N/S Column Description Data type size key constrain Referential
Name s lntegrity
1 PreCod The name of the prerequisite Varchar 20 PK Not null
e course
2 Ccode This is the code of the course Varchar 10 FK Not null COURSE
LECTURE
N/S Column Description Data type size key constrain Referential
Name s lntegrity
1 StaffID Is the identification of lecture Varchar 20 PK Not null
2 Lname Is the name of lecture Varchar 50 Not null
3 Ltitle Is the position of lecture and varchar 100
duty assigned
4 Loffice Is the office of lecture varchar 10 Not null
5 Sname Is the name of the school varchar 50 FK Not null SCHOOL
6 SupID Is the name of supervisor varchar 50 FK LECTURE
Hapa kidogo tumeshindwa
kuelewa, kua tutengeneze tabl
nyingine au tunawek foreign
key
LECTURE_COURSE
N/S Column Description Data type size key constrain Referential
Name s lntegrity
1 StaffID Is the identification of Varchar 20 PK &FK Not null LECTURE
lecture
2 Ccode This is the code of the Varchar 10 FK Not null COURSE
course
COMMITTEE
N/S Column Description Data type size key constrains Referential
Name lntegrity
1 ComTitl The name of the commitee Varchar 50 PK Not null
e
2 StaffID Is the identification of lecture Varchar 20 FK Not null LECTURE
3 FName Is the name of the faculty varchar 50 FK Not null FACULTY
COMMITTEE_LECTURE
N/S Column Description Data type size key constrains Referential
Name lntegrity
1 StaffID Is the identification of Varchar 20 PK & FK Not null LECTURE
lecture
2 ComTitl The name of the Varchar 50 FK Not null COMMITTEE
e commitee
3 FName Is the name of the faculty varchar 50 FK Not null FACULTY