douzong7283 2012-01-18 18:30
浏览 61

MySQL:删除不仅更新的所有行

The idea is that after looping over a submission form, all rows not just updated by the form are deleted from the database.

Is there an elegant MySQL declaration for something like that?

  • 写回答

4条回答 默认 最新

  • dongluo8439 2012-01-18 18:37
    关注

    No. Store the PKs and use NOT IN after to delete.

    评论

报告相同问题?

悬赏问题

  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 shape_predictor_68_face_landmarks.dat
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 对于相关问题的求解与代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料