A RETURN statement is only valid if a function is defined Explanation: A function must be defined in order for the RETURN statement to be valid. User Action: Define an SQL function within a stored module and then specify the RETURN statement.