1.当使用insert时不能使用where id=?,这是要使用update语句

2.只对一些列插入数据或者更新数据:

insert是: insert tb(column1,column2..)values (?,?..)

update是: update tb set column1= ? ,column2 = ? 

相关文章:

  • 2021-09-04
  • 2022-12-23
  • 2022-12-23
  • 2022-01-10
  • 2021-12-30
  • 2021-12-11
  • 2022-12-23
  • 2022-03-09
猜你喜欢
  • 2022-12-23
  • 2021-12-10
  • 2022-12-23
  • 2021-07-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案