Answer the question
In order to leave comments, you need to log in
How to transfer a table between databases (attempt number 2)?
I am a complete 0 in databases and I am deeply confused. Help me find the answer to a few questions. I have 2 psql databases in docker. The first database (its name is postgres) has a simple table that stores rows and the id of those rows. How can I programmatically transfer this table from the first database to the second (arr_test), in which there is no such table? If it's even easier to explain - On the last screen, I access the table in the first database and get data from it, I want that after the transfer, I can access the second database in this way and see the same result there. And can it be done at all in this case? It is desirable such an explanation, so that it would be right for the most stupid person on the planet. Thank you.
Answer the question
In order to leave comments, you need to log in
It is desirable such an explanation, so that it is right for the most stupid person on the planet.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question