Draw the Dependency Diagram that is in 3NF for each relation. For each relation show the level of Normalisation achieved, and for any not to Third Normal Form, explain why. Discuss PK and FK for each relation. Data Dictionary that translates your relational data structures, which includes (as in the picture): table names, column names and field types primary keys identified

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
  1. Draw the Dependency Diagram that is in 3NF for each relation. For each relation show the level of Normalisation achieved, and for any not to Third Normal Form, explain why. Discuss PK and FK for each relation.
  2. Data Dictionary that translates your relational data structures, which includes (as in the picture):
    1. table names,
    2. column names and field types
    3. primary keys identified
A SAMPLE DATA DICTIONARY
FK
REFERENCED
TABLE NAME ATTRIBUTE NAME
CONTENTS
ΤΥΡE
FORMAT
RANGE
REQUIRED PK OR FK TABLE
CUSTOMER
CUS_CODE
Customer account code CHAR(5)
99999
10000-99999
Y
PK
CUS_LNAME
Customer last name
VARCHAR(20) Xxxxxxxx
Y
CUS_FNAME
Customer first name
VARCHAR(20) XxxxxXXx
Y
CUS_INITIAL
Customer initial
CHAR(1)
X
CUS_RENEW_DATE
Customer insurance
DATE
dd-mmm-yyyy
renewal date
AGENT_CODE
Agent code
CHAR(3)
999
FK
AGENT
AGENT
AGENT_CODE
Agent code
CHAR(3)
999
Y
PK
AGENT_AREACODE
Agent area code
CHAR(3)
999
Y
AGENT_PHONE
CHAR(8)
Agent telephone
number
999-9999
Y
AGENT_LNAME
Agent last name
VARCHAR(20) |ХхXXXXXX
Y
AGENT_YTD_SLS
Agent year-to-date sales NUMBER(9,2)
9,999,999.99
FK
= Foreign key
PK
= Primary key
CHAR
= Fixed character length data (1 – 255 characters)
VARCHAR
= Variable character length data (1 – 2,000 characters)
= Numeric data. NUMBER (9,2) is used to specify numbers with up to nine digits, including two digits to the right of the decimal place. Some
RDBMS permit the use of a MONEY or CURRENCY data type.
NUMBER
Transcribed Image Text:A SAMPLE DATA DICTIONARY FK REFERENCED TABLE NAME ATTRIBUTE NAME CONTENTS ΤΥΡE FORMAT RANGE REQUIRED PK OR FK TABLE CUSTOMER CUS_CODE Customer account code CHAR(5) 99999 10000-99999 Y PK CUS_LNAME Customer last name VARCHAR(20) Xxxxxxxx Y CUS_FNAME Customer first name VARCHAR(20) XxxxxXXx Y CUS_INITIAL Customer initial CHAR(1) X CUS_RENEW_DATE Customer insurance DATE dd-mmm-yyyy renewal date AGENT_CODE Agent code CHAR(3) 999 FK AGENT AGENT AGENT_CODE Agent code CHAR(3) 999 Y PK AGENT_AREACODE Agent area code CHAR(3) 999 Y AGENT_PHONE CHAR(8) Agent telephone number 999-9999 Y AGENT_LNAME Agent last name VARCHAR(20) |ХхXXXXXX Y AGENT_YTD_SLS Agent year-to-date sales NUMBER(9,2) 9,999,999.99 FK = Foreign key PK = Primary key CHAR = Fixed character length data (1 – 255 characters) VARCHAR = Variable character length data (1 – 2,000 characters) = Numeric data. NUMBER (9,2) is used to specify numbers with up to nine digits, including two digits to the right of the decimal place. Some RDBMS permit the use of a MONEY or CURRENCY data type. NUMBER
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps

Blurred answer
Knowledge Booster
Enhanced ER Model
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education