Is there any way by which we can export the result of a select statment to CSV file, just like in MySQL.
MySQL Command;
SELECT col1,col2,coln into OU
According to the docs, you want to export of type del (the default delimiter looks like a comma, which is what you want). See the doc page for more information on the EXPORT command.