Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You have a table of sales in your database. The columns of the table include : PurchaseDate and PurchaseAmount. You have decided to apply a
You have a table of sales in your database. The columns of the table include : PurchaseDate and PurchaseAmount. You have decided to apply a discount of on purchases made in the month of December. You are going to design a query where you will be adding a calculated column that shows the discount applicable on each purchase. If the purchase is not made in December, no discount should be applied. Choose the correct expression to calculate the discount:
Group of answer choices
Discount: IfDatePartmPurchaseDatePurchaseAmount
Discount: IIfDatePartmPurchaseDatePurchaseAmount
Discount: IfDatePartmPurchaseDatePurchaseAmount
Discount: IIfDatePartyyyyPurchaseDatePurchaseAmount
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