create temp table as select * from with no data on commit ; # no constraints/indexes are auto-created create temp table (like including constraints including indexes);