比如临时表叫temp,你要查询的语句为select * from 表名 where id=1。 如果temp表存在: insert into temp select * from 表名 where id=1;commit;如果temp表不存在 create table temp as insert into temp select * from 表名 where id=1;注意...