how to create duplicate table in postgre code example Example: copy table postgres CREATE TABLE new_table AS TABLE existing_table;