Contoh data meaning bag.1 dengan SQLPlus

on

Menyusun angka ganjil dengan format berikut:
1
3
5
7
9
11

SQL :SET SERVEROUTPUT ON;
DECLARE
X number;
BEGIN
X:=1
While x<=12
Loop
If mod(x,2)=1 then
Dbms_output.pul_line(x||’’);
End if;
X:=x+1;
End loop;
Dbms_output.put_line(‘’);
END;
/

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s