delare
 tbl_name varchar2(256);
 cursor drop_cs
 is
 select table_name from user_table where table_name like 'gn_%';
begin
 open drop_cs;
 while drop_cs%found
 loop
   fetch drop_cs into tbl_name;
   execute immediate 'drop table '||tbl_name;
 end loop;
end;
/