It certainly is possible:
[tt]
SELECT fieldlist
INTO OUTFILE 'filepath'
FROM ...
WHERE ...
[/tt]
This will output to a file using tab delimiters. If you want to use the traditional CSV delimiters of quotes and commas, you can use:[tt]
INTO OUTFILE 'filepath'
FIELDS TERMINATED BY ',' ENCLOSED BY '"'
[/tt]