DECLARE
v_salary number;
BEGIN
    select salary into v_salary from hr.employees where employee_id = 108;
    CASE v_salary WHEN 15000 THEN DBMS_OUTPUT.PUT_LINE('Rich');
    ELSE  DBMS_OUTPUT.PUT_LINE('Mid-level');
    END CASE;
END;


DECLARE
v_salary number;
BEGIN
    select salary into v_salary from hr.employees where employee_id = 108;
    CASE WHEN v_salary > 15000 THEN DBMS_OUTPUT.PUT_LINE('Rich');
     WHEN v_salary < 15000 THEN DBMS_OUTPUT.PUT_LINE('Poor');
    ELSE  DBMS_OUTPUT.PUT_LINE('Mid-level');
    END CASE;
END;

DECLARE
v_salary number;
BEGIN
    select salary into v_salary from hr.employees where employee_id = 108;
    IF v_salary > 15000 THEN DBMS_OUTPUT.PUT_LINE('Rich');
    ELSIF v_salary < 15000 THEN DBMS_OUTPUT.PUT_LINE('Poor');
    ELSE  DBMS_OUTPUT.PUT_LINE('Mid-level');
    END IF;
END;