SQL将查询结果插入到现有表中:

      Insert into USER_B (ad_user_id,Value,name,manager_id)

  Select ad_user_id,Value,name,manager_id from USER_A Where( manager_id =100001)

 

SQL重置数据表(清除表内所有数据,ID重新记数)

  truncate table tablename

相关文章:

  • 2021-06-28
  • 2021-09-13
  • 2021-12-15
  • 2021-09-14
  • 2021-10-05
  • 2021-06-07
  • 2021-05-28
猜你喜欢
  • 2021-08-26
  • 2021-09-20
  • 2022-12-23
  • 2021-05-29
  • 2021-10-20
  • 2022-01-09
相关资源
相似解决方案