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