sqlite报错:sqlite3.OperationalError: near “updata“: syntax error

sqlite报错:sqlite3.OperationalError: near "updata": syntax error

在进行sqlite操作时,很容易因为看错或者手误造成报错,但是自己花了长时间又检查不出来!

以上错误,即为非常简单的错误!仅仅是一个字符拼写出错!

翻译一下:sqlite3.操作错误:接近“updata”:语法错误

报错提醒在“updata”附近出现错误!仔细看“updata”,就会发现是单词拼错啦!!!

以下为正确语法:

UPDATE table_name
SET column1 = value1, column2 = value2...., columnN = valueN
WHERE [condition];

应该是:update

你可能感兴趣的:(sqlite,sqlite,数据库,python,flask)