I\'m trying to create a stored procedure that calculates total revenue from a customer by if it\'s occupied and the standard rate. I am getting an error message and when I t