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