1.修改全部数据
UPDATE table_name
SET {col_name = EXPRESSION}[,...n]
示例1:将所有用户性别改为男性
UPDATE users SET user_sex = '男'
示例2:将所有玩家的所有游戏得分都增加100分
UPDATE scores SET score = score+100
2.修改特点数据
UPDATE table_name SET {col_name = expression}[,...n] WHERE condition_expression
示例:把QQ为“12302”的玩家性别都改为女性。
UPDATE users SET user_sex = "女" WHERE user_qq = "12302"