The code for the paper C3: Zero-shot Text-to-SQL with ChatGPT (https://arxiv.org/abs/2307.07306)
Download spider data and database (only spider original database right now) and then unzip them:
mkdir data
unzip spider.zip
mv spider/database .
mv spider data
Run the command below, and the predicted sql will be save to the file named "predicted_sql.txt"
bash submit.sh