This workflow demonstrates how easy it is to export SQL query to CSV automatically!
Before running the workflow please make sure you have access to a local or remote MSSQL server with a sample AdventureWorks database.
The detailed process is explained in the tutorial
https://blog.n8n.io/sql-export-to-csv/