Run queries and output the result to a CSV