You have an error in your SQL syntax near 'where id=162940' at line 1