I'm writing the code in Python and am using the psycopg2 library to deal with my PostgreSQL database.
I have the table Orders
with about 30 rows. I want to copy this entire table to an empty one with the same structure called Orders2
.
How can I do this?
Thank you.