You are on page 1of 4

Use Word's table feature to set up an ERD:

Insert a table with many columns and rows


Remove the borders from all the cells
For each entity, highlight a 2x2 section and right click to Merge these into a single double
row, double column cell. Change the border to use a line around the cell. Right click and
change the Cell Alignment to center.
Use the two cells in between the entities to describe the relationship and cardinality.
Put a border line on only one edge of the two relationship cells to connect the entities.

Single Semester Enrollment


Course
1-1
Belongs to Organized into
0-M
Professor

Teaches 0-M
1-1 Taught by

Section
0-1
Enrolled in Contains
1-M
Student Enrollment

Data Groups
Content

Name

Type

Description

Professor

ERD

Professor Master

PROFMAST

Course

ERD

Course Master

COURSEMAST

Section

ERD

Section Assignments

SECTION

Student

ERD

Student Enrolment

STUDENRL

Organization*
Employee ID
PK
Course Code
PK
Course Code (FK),
Section Code
PK
Course Code (FK),
Student ID
PK

* PK = Primary Key, FK = Foreign Key, Index = non-unique key

Normalized Files:
Table
Attributes
(Primary Key, Foreign Key, Primary & Foreign Key, Index)
PROFMAST
COURSEMAST
SECTION
STUDENRL

EmployeeID,
NameLst, NameFst
CourseCode,
CourseDesc
CourseCode, SectionCode,
EmployeeID, RoomNo, Day, Period
CourseCode, StudentID,
SectionCode

Volume/
Frequency

Data Elements
Field

Membership

Description

Data
Type
Char

Length

CourseCode

Course Code

CourseDesc

COURSEMAST
PK,
SECTION PK,
STUDENRL PK
COURSEMAST

Course
Description

Day

SECTION

EmployeeID

Domain/
Validation
Format: AAANNN

Source /
Destination
S: ScrCM
D: ScrSM,
RptCL

Char

30

Not blank

Day of Week

Char

PROFMAST
PK,
SECTION FK

Employee
Identifier

Dec

9, 0

M=Mon., T=Tues.,
W=Wed., H=Thurs.,
F=Fri.
Mod 10 check digit

S: ScrCM
D: ScrSM,
RptCL
S: ScrSM
D: RptCL

NameFst

PROFMAST

First Name

Char

15

Not blank

NameLst

PROFMAST

Last Name

Char

20

Not blank

Period

SECTION

Dec

2,0

_9

1-13

RoomNo

SECTION

Dec

4,0

9999

SectionCode

SECTION PK,
STUDENRL
STUDENRL PK

Period
Number
Room
Number
Section code

Char

1000-3999
first digit is floor no.
A-Z

Student
Identifier

Dec

9, 0

999 999 999

Mod 10 check digit

StudentID

Output
Editing

999 999 999

S: system
D: ScrPM,
ScrSM,
RptCL
S: ScrCM
D: Invoice,
RptOD
S: ScrCM
D: Invoice,
RptOD
S: ScrSM
D: RptCL
S: ScrSM
D: RptCL
S: ScrSM
D: RptCL
S: system
D: ScrSM,
RptCL

Note: Source and Destination refer to Input and Output Layouts documented elsewhere in the Systems Design Document.
ScrPM = Professor Maintenance screen
ScrSM = Section Maintenance screen
ScrCM = Course Maintenance screen
RptCL = Class List report

You might also like