command to create db copy in postgres code example
Example 1: copy table postgres
CREATE TABLE new_table AS
TABLE existing_table;
Example 2: postgres copy command
COPY my_table FROM 'c:\downloads\file.csv' DELIMITERS ',' CSV QUOTE E'\'';
CREATE TABLE new_table AS
TABLE existing_table;
COPY my_table FROM 'c:\downloads\file.csv' DELIMITERS ',' CSV QUOTE E'\'';