Question: 4) ALIASES and CASE. Create new columns (fields) in the results. (a) Use the Products table and create a query that shows ProductName, UnitsInStock, UnitsOnOrder,
4) ALIASES and CASE. Create new columns (fields) in the results.
(a) Use the Products table and create a query that shows ProductName, UnitsInStock, UnitsOnOrder, ReorderLevel, and a calculated field named UnitsAvailable defined as UnitsInStock + UnitsOnOrder.
(b) Use the Products table and create a query that shows ProductName, UnitsInStock, UnitsOnOrder, ReorderLevel, the calculated field UnitsAvailable (copy and paste the query you created in 4a), and a new calculated field named ReorderNeeded that displays Yes if UnitsAvailable < ReorderLevel and otherwise No.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
