The code for Create_GetCustomerLevel3.sql is: DROP PROCEDURE IF EXISTS GetCustomerLevel3; DELIMITER $$ CREATE PROCEDURE GetCustomerLevel3( IN pCustomerNumber INT, OUT pCustomerLevel VARCHAR(20)) BEGIN DECLARE credit DECIMAL(10,2) DEFAULT 0; #SET pCustomerLevel = 'LEAD'; # Sets a default value. SELECT creditLimit INTO credit FROM customers WHERE customerNumber = pCustomerNumber; IF credit > 50000 THEN SET pCustomerLevel = 'PLATINUM'; ELSEIF credit <= 50000 AND credit > 10000 THEN SET pCustomerLevel = 'GOLD'; ELSE SET pCustomerLevel = 'SILVER'; END IF; END$$ DELIMITER ; CALL GetCustomerLevel3(141, @level); SELECT @level; CALL GetCustomerLevel3(103, @level); SELECT @level; CALL GetCustomerLevel3(447, @level); SELECT @level;