Could clean this up to look nicer - consistent ''' or """ would be nice, the tabbing in .execute's second line is different than .executemany's.