I m试图在数据库内一栏中更新记录。 我目前的法典如下:
curs = conn.cursor()
statement= SELECT column FROM table
curs.execute(statement)
curs.execute("INSERT INTO table VALUES (4, Five )")
In my understanding, the 4th row of the column should be updated to Five . After I ran it, there is no error, but no update neither. There must be something wrong in my codes, or I m missing something important. What if I want to update the whole column s records? Thanks in advance for any clarification.