Quantcast
Channel: Question and Answer » postgresql
Viewing all articles
Browse latest Browse all 1138

How to store the result of multiple select queries into one csv file?

$
0
0

How to store the result of all of the queries below into one CSV file in PostgreSQL by executing one COPY (……) to…. statement.

select id,name from first;
select id,salary,father_name from second;
select id,score,bonus,extra from third;

Viewing all articles
Browse latest Browse all 1138

Trending Articles