Question: Write a function named fnItemTotal that calculates the total amount of an item in the OrderItems table Hint: Total Amount = Discount Price multiplied by
Write a function named fnItemTotal that calculates the total amount of an item in the OrderItems table Hint: Total Amount Discount Price multiplied by quantity To do that, this function should accept one parameter for the item ID it should use the DiscountPrice function that you created in question and it should return the value of the total for that item.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
