1. 表结构完全一样
  insert into 表1
  select * from 表2


2. 表结构不一样(这种情况下得指定列名)
  insert into 表(列名1,列名2,列名3)
  select 列1,列2,列3 from 表2

相关文章:

  • 2021-08-03
  • 2021-12-06
  • 2021-11-18
  • 2021-06-11
  • 2022-12-23
  • 2021-10-16
  • 2021-07-03
  • 2021-06-14
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-08
  • 2022-12-23
  • 2021-07-25
相关资源
相似解决方案