Batch modify the attribute values of the database

Since I set the wrong database attribute value when creating the table, I now want to modify it back in batches.

sql syntax: update table name set column name =? [where=];

My specific operation writing

UPDATE t_book SET img_path=‘static/sj.jpg’;
Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_46351306/article/details/115321537