I have found a way out of it. We can use concatenation here,
select name,id,location from employee;
gives us 2 different columns, but not in CSV format.
I did
select name||','||id||','||location from employee;
We get the output in a CSV format. It has just concatenated the output with commas (,).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.