Moved stuff to sampleSql.py