Question: SELECT title, cost, retail, (( (retail - cost) / retail) * 100) AS Profit Margin FROM books WHERE Profit Margin < 55; !*!*! I am
SELECT title, cost, retail, (( (retail - cost) / retail) * 100) AS "Profit Margin" FROM books WHERE "Profit Margin" < 55;
!*!*! I am getting ORA-00904: "Profit Margin": invalid identifier
Why is that? how to fix it?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
