if it´s one table then use create table as select