This is a simple class that can output MySQL query results in the CSV format (Comma Separated Values). It executes a given SQL query, extracts the query column names and data rows to output in the CSV format. The results are served as the current script output as a file for download.