Question: Given a dataset with product _ id , selling _ price and cost _ price, create two columns: profit _ loss: whether the transaction was
Given a dataset with productid sellingprice and costprice, create two columns: profitloss: whether the transaction was profit or loss valueofpl: what was the profit or less incurred?
Tables Schema as Below:
productprices
columnName dataType
productid INT
sellingprice DECIMAL
costprice DECIMAL
profitloss VARCHAR
valueofpl DECIMAL
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
