CREATE OR REPLACE FUNCTION testFunction1 RETURN INT IS
maximum integer;
BEGIN
  SELECT MAX (salary) INTO maximum from professor;
  RETURN maximum;
END;
.
