Это мой код:
cursor.execute("UPDATE students SET (firstName = %s, lastName = %s, birthDate = %s, studentMark = %s) WHERE id = %s" % (firstName, lastName, birthDate, studentMark, findStudent))
И это сообщение об ошибке:
Traceback (most recent call last):
File "C:\Users\ahmed\Desktop\Coursework\main.py", line 102, in <module>
cursor.execute("UPDATE students SET (firstName = %s, lastName = %s, birthDate = %s, studentMark = %s) WHERE id = %s" % (firstName, lastName, birthDate, studentMark, findStudent))
sqlite3.OperationalError: near "=": syntax error
Можете ли вы помочь мне исправить это: D Спасибо