Based on the picture, create the ERD for this database. Then explain if the tables exhibit referential or entity integrity? Finally, Identify the TRUCK table’s candidate keys

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
100%

Based on the picture, create the ERD for this database. Then explain if the tables exhibit referential or entity integrity? Finally, Identify the TRUCK table’s candidate keys

Table name: TRUCK
Primary key: TRUCK_NUM
Foreign keys: BASE_CODE, TYPE_CODE
TRUCK NUM BASE CODE TYPE_CODE TRUCK_MILESTRUCK_BUY DATE TRUCK_SERIAL_NUM
Database name: Ch03_TransCo
1001
501
32123.5
23-Sep-07 AA-322-12212-W11
1002
1003
1004
1005
1006
1007
1008
1009
502
76984.3
05-Feb-06 AC-342-22134-023
501
2
12346.6
11-Nov-06 AC-445-78656-Z99
1
2894.3
06-Jan-07 WO-112-23144-T34
503
2
45673.1
01-Mar-06 FR-998-32245-W12
501
2
193245.7
15-Jul-03 AD-456-00845-R45
502
3
32012.3
17-Oct-04 AA-341-96573-Z84
502
3
44213.6
07-Aug-05 DR-S59-22189-D33
503
10932.9
12-Feb-08 DE-887-98456-E94
Table name: BASE
Primary key: BASE_CODE
Foreign key: none
BASE CODE
BASE_STATE BASE_AREA_CODE BASE PHONE
BASE MANAGER
BASE_CITY
501 Murfreesboro
TN
615
123-4567
502 Lexington
503 Cape Girardeau
Andrea D. Gallager
George H. Delarosa
Maria J. Talindo
KY
568
234-5678
MO
456
345-6789
504 Dalton
GA
901
456-7890
Peter F. McAvee
Table name: TYPE
Primary key: TYPE_CODE
Foreign key: none
TYPE_DESCRIPTION
1 Single box, double-axde
2 Single box, single-ade
3 Tanden trailer, single-axde
TYPE_CODE
Transcribed Image Text:Table name: TRUCK Primary key: TRUCK_NUM Foreign keys: BASE_CODE, TYPE_CODE TRUCK NUM BASE CODE TYPE_CODE TRUCK_MILESTRUCK_BUY DATE TRUCK_SERIAL_NUM Database name: Ch03_TransCo 1001 501 32123.5 23-Sep-07 AA-322-12212-W11 1002 1003 1004 1005 1006 1007 1008 1009 502 76984.3 05-Feb-06 AC-342-22134-023 501 2 12346.6 11-Nov-06 AC-445-78656-Z99 1 2894.3 06-Jan-07 WO-112-23144-T34 503 2 45673.1 01-Mar-06 FR-998-32245-W12 501 2 193245.7 15-Jul-03 AD-456-00845-R45 502 3 32012.3 17-Oct-04 AA-341-96573-Z84 502 3 44213.6 07-Aug-05 DR-S59-22189-D33 503 10932.9 12-Feb-08 DE-887-98456-E94 Table name: BASE Primary key: BASE_CODE Foreign key: none BASE CODE BASE_STATE BASE_AREA_CODE BASE PHONE BASE MANAGER BASE_CITY 501 Murfreesboro TN 615 123-4567 502 Lexington 503 Cape Girardeau Andrea D. Gallager George H. Delarosa Maria J. Talindo KY 568 234-5678 MO 456 345-6789 504 Dalton GA 901 456-7890 Peter F. McAvee Table name: TYPE Primary key: TYPE_CODE Foreign key: none TYPE_DESCRIPTION 1 Single box, double-axde 2 Single box, single-ade 3 Tanden trailer, single-axde TYPE_CODE
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY