code to reformat from python to sql
Merge pull request #15 from cooperjbrandon/master

code to reformat from python to sql