有两种类型的临时表:会话型临时表和事务型临时表。
事务型临时表:

create global temporary table hbk(name varchar2(20),id number,birthday date) on commit delete rows;

会话型临时表:

create global temporary table hbk2(name varchar2(20),id number,birthday date) on commit preserve rows;