Rumah >pangkalan data >tutorial mysql >pl/sql九九乘法表
无详细内容 无 declare i integer; j integer;begin -- 9*9乘法表 for i in 1..9 loop for j in 1..i loop dbms_output.put(i||'*'||j||'='||i*j||chr(9)); end loop; dbms_output.new_line; end loop;end;
declare i integer; j integer; begin -- 9*9乘法表 for i in 1..9 loop for j in 1..i loop dbms_output.put(i||'*'||j||'='||i*j||chr(9)); end loop; dbms_output.new_line; end loop; end;