The code for Create_GetCustomerLevel.sql is: DROP PROCEDURE IF EXISTS GetCustomerLevel; DELIMITER $$ CREATE PROCEDURE GetCustomerLevel( 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'; END IF; END$$ DELIMITER ; CALL GetCustomerLevel(141, @level); SELECT @level; CALL GetCustomerLevel(103, @level); SELECT @level;