create a query to export data from sql server code example Example: how to download data with sql select * from data;