Uncategorized

PostgreSQL insert into another table

Semplicemente:

insert into NUOVA_TABELLA (COL1, COL2)
select COL1, COL2 from ALTRA_TABELLA;

Comment here