LINE INV_NUMBER LINE_NUMBER PROD_CODE LINE_UNITS LINE_PRICE 1123-21UUY 2SRE-657UG 1QER-34256 1ZZX/3245Q 2SRE-657UG 3001278-AB Figure I 1001 1001 189.99 2.99 1002 1003 1003 1003 18.63 6.79 2.99 12.95 Based on Figure I draw an ER diagram. Identify and label the primary key(s) of each entity, foreign key(s) and their relationships.
LINE INV_NUMBER LINE_NUMBER PROD_CODE LINE_UNITS LINE_PRICE 1123-21UUY 2SRE-657UG 1QER-34256 1ZZX/3245Q 2SRE-657UG 3001278-AB Figure I 1001 1001 189.99 2.99 1002 1003 1003 1003 18.63 6.79 2.99 12.95 Based on Figure I draw an ER diagram. Identify and label the primary key(s) of each entity, foreign key(s) and their relationships.
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
Related questions
Question
Introduction to

Transcribed Image Text:LINE
INV_NUMBER LINE NUMBER PROD CODE LINE_UNITSLINE PRICE
1123-21UUY
2SRE-657UG
1QER-34256
1zzx/3245Q
2SRE-657UG
3001278-AB
Figure I
Based on Figure 1 draw an ER diagram. Identify and label the primary key(s) of each entity,
1001
189.99
1001
1002
1003
3
2.99
18.63
6.79
1003
1003
2.99
12.95
foreign key(s) and their relationships.
![QUESTION 1
The FRESHMART SDN.BHD has a SALES MANAGEMENT DATABASE which
contains all the FIVE (5) tables as shown in Figure 1.
CUSTOMER
CUS CODE CUS_LNAME CUS_FNAME CUS_INITIAL CUS_AREACODE CUS_PHONE
10010Ramas
10011 Dunne
10012 Smith
10013 Olowski
Alfred
Leona
Kathy
Paul
615
713
A
K
W
F
844-2573
]894-1238
894-2285
894-2180
615
615
VENDOR
VEND_CODE VEND_CONTACT VEND_AREACODE VEND_PHONE
555-1234
123-4536
224-2134
342-6567
230 Shelly K. Smithson 608
231 James Johnson
615
232 Annelise Crystall
608
233 Candice Wallace
904
PRODUCT
PROD CODE PROD DESCRIPT PROD PRICE PROD ON HAND VEND CODE
12.95
Claw hammer
Houselite chain saw,
16-in. bar
QER-34256 Sledge hammer, 16-lb.
head
23
232
235
001278-AB
123-21UUY
189.99
4
18.63
6
231
Rat-tail file
Steel tape, 12-ft.
length
2.99
6.79
15
232
235
SRE-657UG
zzx/3245Q
8
INVOICE
INV_NUMBER|CUS_CODE|INV_DATE
10014 08-Mar-16
10011 08-Mar-16
10012 08-Mar-16
10011 09-Mar-16
1001
1002
1003
1004](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F6a8e7412-35e0-4298-af09-c2134122eae6%2F5145a9c2-9b2e-4166-b724-0e5810421f40%2Frvpm7xp_processed.png&w=3840&q=75)
Transcribed Image Text:QUESTION 1
The FRESHMART SDN.BHD has a SALES MANAGEMENT DATABASE which
contains all the FIVE (5) tables as shown in Figure 1.
CUSTOMER
CUS CODE CUS_LNAME CUS_FNAME CUS_INITIAL CUS_AREACODE CUS_PHONE
10010Ramas
10011 Dunne
10012 Smith
10013 Olowski
Alfred
Leona
Kathy
Paul
615
713
A
K
W
F
844-2573
]894-1238
894-2285
894-2180
615
615
VENDOR
VEND_CODE VEND_CONTACT VEND_AREACODE VEND_PHONE
555-1234
123-4536
224-2134
342-6567
230 Shelly K. Smithson 608
231 James Johnson
615
232 Annelise Crystall
608
233 Candice Wallace
904
PRODUCT
PROD CODE PROD DESCRIPT PROD PRICE PROD ON HAND VEND CODE
12.95
Claw hammer
Houselite chain saw,
16-in. bar
QER-34256 Sledge hammer, 16-lb.
head
23
232
235
001278-AB
123-21UUY
189.99
4
18.63
6
231
Rat-tail file
Steel tape, 12-ft.
length
2.99
6.79
15
232
235
SRE-657UG
zzx/3245Q
8
INVOICE
INV_NUMBER|CUS_CODE|INV_DATE
10014 08-Mar-16
10011 08-Mar-16
10012 08-Mar-16
10011 09-Mar-16
1001
1002
1003
1004
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 2 images

Knowledge Booster
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
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

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)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education