how to export sql database to sql file code example Example: how to download data with sql select * from data;