Simple bash script to load data from sql tables