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.

Fundamentals of Information Systems
9th Edition
ISBN:9781337097536
Author:Ralph Stair, George Reynolds
Publisher:Ralph Stair, George Reynolds
Chapter3: Database Systems And Big Data
Section: Chapter Questions
Problem 4PSE
icon
Related questions
Question

Introduction to Database

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.
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
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
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
Binary numbers
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Fundamentals of Information Systems
Fundamentals of Information Systems
Computer Science
ISBN:
9781337097536
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Principles of Information Systems (MindTap Course…
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781305971776
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Fundamentals of Information Systems
Fundamentals of Information Systems
Computer Science
ISBN:
9781305082168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning