Answered step by step
Verified Expert Solution
Question
1 Approved Answer
4. (23 points) Consider two tables. Table A contains the information of shipments of items received from the manufacturers. For example, 50 of ProductType 1433671
4. (23 points) Consider two tables. Table A contains the information of shipments of items received from the manufacturers. For example, 50 of ProductType 1433671 were received on 2018-10-01 and 15 of them were received on 2018-08-31. Product uantit 1433671 2500241 3587001 1433671 50 30 20 15 Date 2018-10-01 2018-09-28 2018-10-08 2018-08-31 Table B keeps track of the most up-to-date inventory of these products. For example, ProductType 1433671 currently has 100 in stock. Product InStock Description 1433671 2500241 3587001 100 12 67 OSU Mug OSU Hand Towel OSU Pern Your job is to write a trigger on Table A that calls a stored procedure whenever a new row is inserted, say 40 of ProductType 2500241 just arrived, to update Table B accordingly. In this particular example, when a new row of '2500241-40
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started