2
我想更新包含在SQLite表有許多行如何使用python更新列表中值的sqlite表?
tablenew
id status
a old
b ask
c old
d old
等等
list = ['a', 'b', 'c']
cur.execute("update tablenew set status =? where id = ?", ('new',list))
如何在Python做到這一點?