Python Sql Syntax Error When Trying To Draw Data From Database

Python Sql Syntax Error When Trying To Draw Data From Database