直接学习:https://edu.csdn.net/course/play/24756/280730
MySQL数据库-数据库更新操作
语法:update [表名] 更新操作[条件]
sql =" update article set title ='钢铁是怎么炼成的'where id = 4"
cursor.execute(sql)
直接学习:https://edu.csdn.net/course/play/24756/280730
MySQL数据库-数据库更新操作
语法:update [表名] 更新操作[条件]
sql =" update article set title ='钢铁是怎么炼成的'where id = 4"
cursor.execute(sql)