run sql commands from your local machine and download the results