Trying to do a query but need to add 250 to TotalCost if mileage is > 150.
select milegae.dc_id,
mileage.store_id,
mileage.mileage,
round((mileage.mileage * .75 + 200),2) as TripCost
from mileage;
This query gives me the data I want but I'm unsure how to add 250 to the TotalCost given the parameters.