This gist is to capture related code snippets for managing archived files.
First, a look at how to work with zip files.
In case there's a list of zip files in a folder, and we need to extract them (taking care to rename same file names):
The link to the official documentation on COPY
The COPY command can be used to import data from files. To import data from a csv file, use:
-- The table into which to import the data into
COPY table_name