Database Management (資料庫管理) - Spring 2025 (113-2)

Last updated on 03/26/2025
home . back

Practice 6: Normalization of Database Tables

 

Question

Using the STUDENT table structure shown in Table P6.4, do the following:

Table P6.4 Sample STUDENT Records

Attribute Name

Sample Value

Sample Value

Sample Value

Sample Value

Sample Value

STU_NUM

211343

200128

199876

199878

223456

STU_LNAME

Stephanos

Smith

Jones

Ortiz

McKulski

STU_MAJOR

Accounting

Accounting

Marketing

Marketing

Statistics

DEPT_CODE

ACCT

ACCT

MKTG

MKTG

MATH

DEPT_NAME

Accounting

Accounting

Marketing

Marketing

Mathematics

DEPT_PHONE

4356

4356

4378

4378

3420

COLLEGE_NAME

Business Admin

Business Admin

Business Admin

Business Admin

Arts & Sciences

ADVISOR_LNAME

Grastrand

Grastrand

Gentry

Tillery

Chen

ADVISOR_OFFICE

T201

T201

T228

T356

J331

ADVISOR_BLDG

Torre Building

Torre Building

Torre Building

Torre Building

Jones Building

ADVISOR_PHONE

2115

2115

2123

2159

3209

STU_GPA

3.87

2.78

2.31

3.45

3.58

STU_HOURS

75

45

117

113

87

STU_CLASS

Junior

Sophomore

Senior

Senior

Junior

  1. Write the relational schema, draw its dependency diagram, and identify all dependencies, including all transitive dependencies.
  2. Write the relational schema and draw the dependency diagram to meet the 3NF requirements to the greatest extent possible. If you believe that practical considerations dictate using a 2NF structure, explain why your decision to retain 2NF is appropriate. If necessary, add or modify attributes to create appropriate determinants and to adhere to the naming conventions.
  3. Draw the Crow’s Foot ERD.

HINT:假設 STU_NUM, ADVISOR_LNAME 為組合主鍵 (Compound Primary Key)