Python Mysql Syntax Error Throwing Error On Correct Syntax Stack

Python Mysql Syntax Error Throwing Error On Correct Syntax Stack