17,377
社区成员
发帖
与我相关
我的任务
分享
set serveroutput on
accept anum number prompt 'input a number:'
begin
if anum > 100 then
DBMS_OUTPUT.PUT_LINE('bigger');
ELSEIF anum = 100 then
DBMS_OUTPUT.PUT_LINE('same');
else
DBMS_OUTPUT.PUT_LINE('smaller');
end if;
end;
/