DELETE user,orders from  user,orders  where  user.id=orders.user_id AND user.id=#{id};

 

 

SQL同时删除两张表中的数据SQL同时删除两张表中的数据

相关文章:

  • 2022-12-23
  • 2021-10-12
  • 2022-12-23
  • 2022-12-23
  • 2021-10-03
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-07-28
  • 2022-12-23
  • 2022-01-04
  • 2022-02-19
  • 2022-12-23
相关资源
相似解决方案