Question: how to export data from database to csv file?
Answer: Be sure the table or query is selected and click the File menu and choose “Export…”
The export wizard will begin.
Select the location for the exported data and name your file (be sure to set the file extension as . csv)
Change the Save as type: to “Text Files”
Click “Export”