批量插入
1 | INSERT INTO users(name, age) VALUES('姚明', 25), ('比尔.盖茨', 50), ('火星人', 600); |
批量更新
1 | UPDATE member SET descipt = "默认" WHERE usertypeid IN (1,2,3,4); |
1 | UPDATE member |
批量删除
1 | DELETE FROM users WHERE id IN (1,2,3,4); |
1 | INSERT INTO users(name, age) VALUES('姚明', 25), ('比尔.盖茨', 50), ('火星人', 600); |
1 | UPDATE member SET descipt = "默认" WHERE usertypeid IN (1,2,3,4); |
1 | UPDATE member |
1 | DELETE FROM users WHERE id IN (1,2,3,4); |