Вы находитесь на странице: 1из 4

Field Name Data Field

Type Form
at

Field Key Nulla Description


Size
bility

Example

STUD_ID

Text

not null Unique identification number of the student

2014-0091

STUD_LNAME

Text

45

not null Surname of student.

Potter

STUD_FNAME

Text

45

not null First name of student.

Harry

STUD_INTIAL

Text

null

STUD_DOB

Date

STUD_YOE

Text

45

PROG_CODE

Text

60

YYYY9999

PK

YYYYMM-DD

FK

Middle name of student.

not null Date of birth as a standard Internet date


format.

1980-07-31

not null Year when the student enrolled in the


university

2014

not null Unique identification number for course


program. Foreign key to
COURSE.COURSE_NO.

BS Physics

Entity Name: STUDENT


Entity Name: COURSE
Field
Name

Data Field Field Key Nullabi Description


Type Form Size
lity
at

COURSE_CODE Text

45

COURSE_TITLE Text

45

PROG_CODE

60

Text

PK

FK

Example

not null

Short name of course program

PHYS2

not null

Long name of course program.

Introduction
to Physics

not null

The unique code of the program where the


course belongs

Entity Name: CAMPUS


Field
Name

Data Field Field Key Nullabi Description


Type Form Size
lity
at

Example

CAMP_NAME

Text

45

CAMP_ADDRES Text
S
BUS_NUM
CAMP_DIST

PK

not null

Name of the campus

Manila
Campus

45

not null

Address of the campus

Ermita,
Manila

Text

45

not nul

Unique identification number of the bus


service of the campus

001

FLOAT

8,2

not null

Distance of the campus from the city center


in meters

257.69

Entity Name: FACULTY


Field

Data Field Field Key Nullabi Description

Example

Name

Type Form Size


at

FACULTY_NAM
E

Text

45

DEAN_NAME

Text

FACULTY_BLDG Text

lity
PK

not null

Name of the faculty

Science
Faculty

45

not null

Name of the dean of the faculty

Rogelio
Santos

45

not null

The building where the faculty is located

Generoso
Bldg

Entity Name: SCHOOL


Field
Name

Data Field Field Key Nullabi Description


Type Form Size
lity
at

SCHOOL_NAME Text

45

SCHOOL_BLDG Text

45

FACULTY_NAM
E

Text

45

CAMP_NAME

Text

45

PK

Example

not null

Name of the school

School of
Mathematic
s

not null

The building where the faculty, as well as the


school, is located

Generoso
Bldg

FK

not null

The faculty where the school belongs to

Science
Faculty

FK

not null

The campus where the faculty and the school


is located

Manila
Campus

Entity Name: PROGRAM


Field
Name

Data Field Field Key Nullabi Description


Type Form Size
lity
at

Example

PROG_CODE

Text

60

PROG_TITLE

Text

PROG_LVL

PK

not null

Unique identification code of the program

BSPhy

45

not null

Complete name of the program

Bachelor of
Science in
Physics

Text

45

not null

The estimated number of years that a


program takes to be finished

4 years

PROG_LENGTH Text

45

not null

The estimated number of semesters needed


to be taken before finishing the program

8 semesters

SCHOOL_NAME Text

45

not null

The school that handles the specified program School of


Mathematic
s

FK

Entity Name: COURSE_STUDENT


Field
Name

Data Field Field Key Nullabi Description


Type Form Size
lity
at

Example

YEAR_TAKEN

Text

45

not null

The year when the student took the course

2012

SEMESTER_TA
KEN

Text

45

not null

The semester when the course was taken up


by the student

2nd
Semester

GRADE_AWAR
DED

Text

45

not null

The grade given to the student after taking


the course

2.5

STUD_ID

Text

YYYY9999

COURSE_CODE Text

PK,
FK

not null

The student ID of the student who took up


the course

2014-0091

45

PK,
FK

not null

The unique code of the course taken by the


student

PHYS2

Entity Name: CLUB


Field
Name

Data Field Field Key Nullabi Description


Type Form Size
lity
at

Example

CLUB_NAME

Text

45

CLUB_BLDG

Text

CLUB_PHONE_
NO

Text

CAMP_NAME

Text

9999999

not null

Name of the club

Ballers Club

45

not null

The building where the club is located

Naismith
Stadium

not null

The contact number of the club

123-4567

not null

The campus where the club is located

Manila
Campus

45

PK

FK

Entity Name: SPORT


Field
Name

Data Field Field Key Nullabi Description


Type Form Size
lity
at

Example

SPORT_NAME

Text

45

PK

not null

Name of the sport offered by the club

Basketball

CLUB_NAME

Text

45

PK,
FK

not null

The club that offers the sport

Ballers Club

Entity Name: PRECOURSE


Field
Name

Data Field Field Key Nullabi Description


Type Form Size
lity
at

Example

COURSE_CODE Text

45

PK,
FK

not null

The unique code of the course offered by the


university

PHYS2

PRECOURSE_C
ODE

45

PK,
FK

not null

The unique code of the course which is the


prerequisite of another specific course

PHYS1

Text

Field Name Data Field


Type Form
at

Field Key Nulla Description


Size
bility

Example

STAFF_ID

Int

11

not null The unique identification number of the


lecturer

102

LECT_LNAME

Text

45

not null The last name of the lecturer

Rigma

LECT_LNAME

Text

45

not null The first name of the lecturer

Mandy

999

PK

LECT_INITIAL

Text

null

LECT_TITLE

Text

45

not null The title used by the lecturer

Ms

OFFICE_RM

Text

45

not null The office where the lecturer is located

S-203

SCHOOL_NAME

Text

45

FK

not null The school where the lecturer belongs in

School of
Mathematic
s

SUPERVISOR_I
D

Int

11

FK

null

102

999

The middle initial of the lecturer

The unique code of the supervisor that


supervises the lecturers. The supervisor is
also a lecturer

Entity Name: LECTURER


Entity Name: LECTURER_COURSE
Field
Name

Data Field Field Key Nullabi Description


Type Form Size
lity
at

Example

STAFF_ID

Int

999

COURSE_CODE Text

11

PK,
FK

not null

The unique identification number of the


lecturer

102

45

PK,
FK

not null

The unique code of the course being taught


by the lecturer

PHYS2

Entity Name: COMMITTEE


Field
Name

Data Field Field Key Nullabi Description


Type Form Size
lity
at

Example

COM_NAME

Text

45

PK

not null

The name of the committee

Faculty
Executive

FACULTY_NAM
E

Text

45

PK,
FK

not null

The faculty where the committee belongs to

Science
Faculty

FREQ_MEETIN
G

Text

45

not null

The frequency of meeting the committee


holds in a month

Once

Entity Name: COM_LECTURER


Field
Name

Data Field Field Key Nullabi Description


Type Form Size
lity
at

Example

STAFF_ID

Int

COM_NAME
FACULTY_NAM
E

999

11

PK,
FK

not null

The unique identification number of the


lecturer who is a member of the faculty

102

Text

45

PK,
FK

not null

The committee where the lecturer is a


member of

Faculty
Executive

Text

45

PK,
FK

not null

The faculty where the committee belongs to

Science
Faculty[

Вам также может понравиться