Question: 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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!