Question: You were asked to review the following code: PROC SQL; SELECT MEDICATION, PETID, COST, COST * .075 AS TOTAL_COST FORMAT DOLLAR10.2, CASE WHEN TOTAL_COST <

You were asked to review the following code: PROC SQL; SELECT MEDICATION, PETID, COST, COST * .075 AS TOTAL_COST FORMAT DOLLAR10.2, CASE WHEN TOTAL_COST < 50 THEN 'Low Cost Med' WHEN TOTAL_COST < 100 THEN 'Average Cost Med' WHEN TOTAL_COST < 200 THEN 'High Cost Med' WHEN TOTAL_COST >=200 THEN 'Extremely High Cost Med' ELSE 'No Cost Med or Unknown Med Cost' END AS MED_COST_CATEGORY FROM W

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!