方法一:

drop  table if exists x;

create table x as +select * from ...

方法二:

create temporary table x  +select * from ...;