Clicking the Export button on the Result Grid toolbar allows you to export the query results to a file.