uploading and testing sql