Python Insert Variable Into Sql Query Syntax