declare
x number := 20;
begin
if x = 10 then
dbms_output.put_line('x = 10');
elsif x = 20 then
dbms_output.put_line('x = 20');
else
dbms_output.put_line('no data');
end if;
end;
x number := 20;
begin
if x = 10 then
dbms_output.put_line('x = 10');
elsif x = 20 then
dbms_output.put_line('x = 20');
else
dbms_output.put_line('no data');
end if;
end;