Can a sql statement be used to generate a comma delimited file in Oracle?

This is pretty urgent.

Thanks