mysql python intermediate, create new names