Python Insert Variable Into Sql Clause And Statement