making sql simpler for bare python users