Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Figure 2 - 1 Sample Data for KimTay Pet Supplies SALES _ REP REP _ ID FIRST _ NAME LAST _ NAME ADDRESS CITY STATE

Figure 2-1 Sample Data for KimTay Pet Supplies
SALES_REP
REP_ID FIRST_NAME LAST_NAME ADDRESS CITY STATE POSTAL CELL_PHONE COMMISSION RATE
05 Susan Garcia 42 Mountain Ln Cody WY 82414307-824-1245 $12,743.160.04
10 Richard Miller 87 Pikes Dr Ralston WY 82440307-406-4321 $20,872.110.06
15 Donna Smith 312 Oak Rd Powell WY 82440307-982-8401 $14,912.920.04
20 Daniel Jackson 19 Lookout Dr Elk Butte WY 82433307-883-9481 $0.000.04
CUSTOMER
CUST_ID FIRST_NAME LAST_NAME ADDRESS CITY STATE POSTAL EMAIL BALANCE CREDIT_LIMIT REP_ID
125 Joey Smith 17 Fourth St Cody WY 82414 jsmith17@example.com $80.68$500.0005
182 Billy Rufton 21 Simple Cir Garland WY 82435 billyruff@example.com $43.13$750.0010
227 Sandra Pincher 53 Verde Ln Powell WY 82440 spinch2@example.com $156.38$500.0015
294 Samantha Smith 14 Rock Ln Ralston WY 82440 ssmith5@example.com $58.60$500.0010
314 Tom Rascal 1 Rascal Farm Rd Cody WY 82414 trascal3@example.com $17.25$250.0015
375 Melanie Jackson 42 Blackwater Way Elk Butte WY 82433 mjackson5@example.com $252.25$250.0005
435 James Gonzalez 16 Rockway Rd Wapiti WY 82450 jgonzo@example.com $230.40 $1,000.0015
492 Elmer Jackson 22 Jackson Farm Rd Garland WY 82435 ejackson4@example.com $45.20$500.0010
543 Angie Hendricks 27 Locklear Ln Powell WY 82440 ahendricks7@example.com $315.00$750.0005
616 Sally Cruz 19918th Ave Ralston WY 82440 scruz5@example.com $8.33$500.0015
721 Leslie Smith 123 Sheepland Rd Elk Butte WY 82433 lsmith12@example.com $166.65 $1,000.0010
795 Randy Blacksmith 75 Stream Rd Cody WY 82414 rblacksmith6@example.com $61.50$500.0005
INVOICES
INVOICE_NUM INVOICE_DATE CUST_ID
1421611/15/2021125
1421911/15/2021227
1422211/16/2021294
1422411/16/2021182
1422811/18/2021435
1423111/18/2021125
1423311/18/2021435
1423711/19/2021616
INVOICE_LINE
INVOICE_NUM ITEM_ID QUANTITY QUOTED_PRICE
14216 CA753$37.99
14219 AD722$79.99
14219 DT124$39.99
14222 LD141$47.99
14224 KH814$18.99
14228 FS421 $124.99
14228 PF191$74.99
14231 UF392 $189.99
14233 KH811$19.99
14233 QB924 $109.95
14233 WB494$74.95
14237 LP733$54.95
ITEM
ITEM_ID DESCRIPTION ON_HAND CATEGORY LOCATION PRICE
AD72 Dog Feeding Station 12 DOG B $79.99
BC33 Feathers Bird Cage (12\times 24\times 18)10 BRD B $79.99
CA75 Enclosed Cat Litter Station 15 CAT C $39.99
DT12 Dog Toy Gift Set 27 DOG B $39.99
FM23 Fly Mask with Ears 41 HOR C $24.95
FS39 Folding Saddle Stand 12 HOR C $39.99
FS42 Aquarium (55 Gallon)5 FSH A $124.99
KH81 Wild Bird Food (25 lb)24 BRD C $19.99
LD14 Locking Small Dog Door 14 DOG A $49.99
LP73 Large Pet Carrier 23 DOG B $59.99
PF19 Pump & Filter Kit 5 FSH A $74.99
QB92 Quilted Stable Blanket 32 HOR C $119.99
SP91 Small Pet Carrier 18 CAT B $39.99
UF39 Underground Fence System 7 DOG A $199.99
WB49 Insulated Water Bucket 34 HOR C $79.991. Indicate the changes (using the shorthand representation) that you would need to make to the original KimTay Pet Supplies database design (see Figure 2-1) to support the following requirements. A customer is not necessarily represented by a single sales rep, but can be represented by several sales reps. When a customer places an order, the sales rep who gets the commission on the invoice must be in the collection of sales reps who represent the customer.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Explain the various employee benefit laws.

Answered: 1 week ago

Question

Describe the premium pay benefit practice.

Answered: 1 week ago