Python Insert Variable Into Sql Clause Containing