In this post, we will see how to resolve PGSQL: Selecting values from first table and inserting them as one of the params to the second table
Question:
Is is possible to do something like this or similar in PostgreSQL?Best Answer:
You’d useINSERT INTO ... SELECT ...
:If you have better answer, please add a comment about this, thank you!
Source: Stackoverflow.com